From 522696054c2ab564b9c07f781753b30eaa3862c6 Mon Sep 17 00:00:00 2001 From: Ry Date: Tue, 21 Jun 2022 16:12:07 -0700 Subject: [PATCH] Build using GitHub Actions --- .github/workflows/fox32asm-unstable-linux.yml | 29 +++++++++++++++++++ .../workflows/fox32asm-unstable-windows.yml | 29 +++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 .github/workflows/fox32asm-unstable-linux.yml create mode 100644 .github/workflows/fox32asm-unstable-windows.yml diff --git a/.github/workflows/fox32asm-unstable-linux.yml b/.github/workflows/fox32asm-unstable-linux.yml new file mode 100644 index 0000000..c6a7f2a --- /dev/null +++ b/.github/workflows/fox32asm-unstable-linux.yml @@ -0,0 +1,29 @@ +on: + workflow_dispatch: + push: + branches: + - main + +name: fox32asm Unstable - Linux + +jobs: + fox32asm-unstable-linux: + name: Build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Install Rust toolchain + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + override: true + + - name: Build + run: cargo build --release + + - name: Upload artifact + uses: actions/upload-artifact@v2 + with: + name: fox32asm + path: target/release/fox32asm diff --git a/.github/workflows/fox32asm-unstable-windows.yml b/.github/workflows/fox32asm-unstable-windows.yml new file mode 100644 index 0000000..80cc5e0 --- /dev/null +++ b/.github/workflows/fox32asm-unstable-windows.yml @@ -0,0 +1,29 @@ +on: + workflow_dispatch: + push: + branches: + - main + +name: fox32asm Unstable - Windows + +jobs: + fox32asm-unstable-windows: + name: Build + runs-on: windows-latest + steps: + - uses: actions/checkout@v2 + + - name: Install Rust toolchain + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + override: true + + - name: Build + run: cargo build --release + + - name: Upload artifact + uses: actions/upload-artifact@v2 + with: + name: fox32asm.exe + path: target/release/fox32asm.exe