From ac0c1998f35684edab6dcb58aab34a97a687b961 Mon Sep 17 00:00:00 2001 From: Sascha Schneider Date: Fri, 9 Jun 2023 22:15:18 +0200 Subject: [PATCH] Add windows pipeline. --- .github/workflows/win.yml | 23 +++++++++++++++++++++++ Cargo.toml | 2 +- 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/win.yml diff --git a/.github/workflows/win.yml b/.github/workflows/win.yml new file mode 100644 index 0000000..e05673f --- /dev/null +++ b/.github/workflows/win.yml @@ -0,0 +1,23 @@ +name: win + +on: + release: + types: [created] + +jobs: + release: + name: release ${{ matrix.target }} + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + target: [x86_64-pc-windows-gnu] + steps: + - uses: actions/checkout@master + - name: Compile and release + uses: rust-build/rust-build.action@v1.4.3 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + RUSTTARGET: ${{ matrix.target }} + EXTRA_FILES: "README.md LICENSE" diff --git a/Cargo.toml b/Cargo.toml index af5db8e..61b2bd7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -sdl2 = "0.35" +sdl2 = { version = "0.35", features = ["bundled"] } clap = { version = "4.3.1", features = ["derive"] } agon-cpu-emulator = { git = "https://github.com/tomm/agon-cpu-emulator.git", rev="244177e1c4b4e5db673f9fa16ea79cdd96059542"} agon-light-vdp = { git = "https://github.com/astralaster/agon-light-vdp.git", rev="1454183996a1421ce6c9a1b6df74941d542ca228"} \ No newline at end of file