From 05b484c8b780c59ad577295a0a123a6e5ca94223 Mon Sep 17 00:00:00 2001 From: alula Date: Wed, 2 Dec 2020 15:43:18 +0100 Subject: [PATCH 1/7] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 69c7a4d..055e79e 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ Because methods used to extract game data from cartridge vary, you have to find - [x] First Cave - [x] Mimiga Village - [x] Egg Corridor - - [ ] Grasstown (~90% done) + - [x] Grasstown - [ ] Sand Zone (~10% done) - [ ] Labirynth (~10% done) - [ ] Outer Wall @@ -101,6 +101,7 @@ Because methods used to extract game data from cartridge vary, you have to find - [ ] Wind Fortress (~40%) - [ ] Boss Run - [x] Seasonal graphics + - [ ] Co-op gameplay (~70%) - [ ] Remastered soundtrack *(tbd)* From 04cb80f50f0bcdfe64a184cdb2c50fb39c900cf7 Mon Sep 17 00:00:00 2001 From: Alula Date: Fri, 4 Dec 2020 14:41:11 +0100 Subject: [PATCH 2/7] add appveyor configuration --- .appveyor.yml | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .appveyor.yml diff --git a/.appveyor.yml b/.appveyor.yml new file mode 100644 index 0000000..620a7f5 --- /dev/null +++ b/.appveyor.yml @@ -0,0 +1,45 @@ +version: "0.1.0.{build}-{branch}" + +os: Visual Studio 2019 + +environment: + global: + PROJECT_NAME: doukutsu-rs + matrix: + - channel: stable + target: x86_64-pc-windows-msvc + target_name: win64 + - channel: stable + target: i686-pc-windows-msvc + target_name: win32 + +install: + - appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe + - rustup-init -yv --default-toolchain %channel% --default-host %target% + - set PATH=%PATH%;%USERPROFILE%\.cargo\bin + - rustup update + - rustc -vV + - cargo -vV + +build: false + +cache: + - '%USERPROFILE%\.cache\sccache -> rust-toolchain,.appveyor.yml' + - '%USERPROFILE%\.cargo -> rust-toolchain,.appveyor.yml' + - '%USERPROFILE%\.rustup -> rust-toolchain,.appveyor.yml' + - 'target -> rust-toolchain,.appveyor.yml' + +#test_script: +# - cargo build --verbose --all +# - cargo test --verbose --all --no-fail-fast + +before_deploy: + - cargo build --release --bin doukutsu-rs + - mkdir release + - copy target\release\doukutsu-rs.exe release + - cd release + - appveyor DownloadFile https://github.com/doukutsu-rs/game-data/archive/master.zip -FileName ../game-data.zip + - 7z x ../game-data.zip + - rename game-data-master data + - 7z a ../doukutsu-rs_%APPVEYOR_BUILD_VERSION%_%target_name%.zip * + - appveyor PushArtifact ../doukutsu-rs_%APPVEYOR_BUILD_VERSION%_%target_name%.zip * From 071720f8c763dcda37aa526a286e76520a6d2fe0 Mon Sep 17 00:00:00 2001 From: Alula Date: Fri, 4 Dec 2020 14:42:59 +0100 Subject: [PATCH 3/7] yikes --- .appveyor.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 620a7f5..46a1684 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -21,8 +21,6 @@ install: - rustc -vV - cargo -vV -build: false - cache: - '%USERPROFILE%\.cache\sccache -> rust-toolchain,.appveyor.yml' - '%USERPROFILE%\.cargo -> rust-toolchain,.appveyor.yml' @@ -33,7 +31,7 @@ cache: # - cargo build --verbose --all # - cargo test --verbose --all --no-fail-fast -before_deploy: +build: - cargo build --release --bin doukutsu-rs - mkdir release - copy target\release\doukutsu-rs.exe release From a89f1856797353a0841d5ce125dc0d3dbfdaa107 Mon Sep 17 00:00:00 2001 From: Alula Date: Fri, 4 Dec 2020 14:44:31 +0100 Subject: [PATCH 4/7] i hate ci --- .appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.appveyor.yml b/.appveyor.yml index 46a1684..7f9eaa7 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -31,7 +31,7 @@ cache: # - cargo build --verbose --all # - cargo test --verbose --all --no-fail-fast -build: +build_script: - cargo build --release --bin doukutsu-rs - mkdir release - copy target\release\doukutsu-rs.exe release From 27c9c26bda244a0688f09fc3aec80b795ead4b9d Mon Sep 17 00:00:00 2001 From: Alula Date: Fri, 4 Dec 2020 14:50:13 +0100 Subject: [PATCH 5/7] i hate ci pt. 2 --- .appveyor.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 7f9eaa7..d34f3be 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -18,14 +18,15 @@ install: - rustup-init -yv --default-toolchain %channel% --default-host %target% - set PATH=%PATH%;%USERPROFILE%\.cargo\bin - rustup update + - rustup default %channel% - rustc -vV - cargo -vV cache: - - '%USERPROFILE%\.cache\sccache -> rust-toolchain,.appveyor.yml' - - '%USERPROFILE%\.cargo -> rust-toolchain,.appveyor.yml' - - '%USERPROFILE%\.rustup -> rust-toolchain,.appveyor.yml' - - 'target -> rust-toolchain,.appveyor.yml' + - '%USERPROFILE%\.cache\sccache -> .appveyor.yml' + - '%USERPROFILE%\.cargo -> .appveyor.yml' + - '%USERPROFILE%\.rustup -> .appveyor.yml' + - 'target -> .appveyor.yml' #test_script: # - cargo build --verbose --all From a820e0b0eb3cc19987c265debfa6cac3d4422846 Mon Sep 17 00:00:00 2001 From: Alula Date: Fri, 4 Dec 2020 14:54:21 +0100 Subject: [PATCH 6/7] Rename artifact .zip name to let us make permalinks --- .appveyor.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index d34f3be..d4f8932 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -40,5 +40,5 @@ build_script: - appveyor DownloadFile https://github.com/doukutsu-rs/game-data/archive/master.zip -FileName ../game-data.zip - 7z x ../game-data.zip - rename game-data-master data - - 7z a ../doukutsu-rs_%APPVEYOR_BUILD_VERSION%_%target_name%.zip * - - appveyor PushArtifact ../doukutsu-rs_%APPVEYOR_BUILD_VERSION%_%target_name%.zip * + - 7z a ../doukutsu-rs_%target_name%.zip * + - appveyor PushArtifact ../doukutsu-rs_%target_name%.zip From 82325f31fe36c79fe7293fb601985abc43e91083 Mon Sep 17 00:00:00 2001 From: Alula Date: Fri, 4 Dec 2020 15:31:37 +0100 Subject: [PATCH 7/7] add job names --- .appveyor.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.appveyor.yml b/.appveyor.yml index d4f8932..07f36cf 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -9,9 +9,11 @@ environment: - channel: stable target: x86_64-pc-windows-msvc target_name: win64 + job_name: windows-x64 - channel: stable target: i686-pc-windows-msvc target_name: win32 + job_name: windows-x32 install: - appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe