From 85831c9a88ff3da6462c04c6fc6503dbba35e58d Mon Sep 17 00:00:00 2001 From: jn Date: Fri, 20 Jan 2023 14:09:19 +0100 Subject: [PATCH] Add GitHub Actions config In order to build fox32os in CI, it's useful to have gfx2inc prebuilt. --- .github/workflows/tools-unstable-linux.yml | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/tools-unstable-linux.yml diff --git a/.github/workflows/tools-unstable-linux.yml b/.github/workflows/tools-unstable-linux.yml new file mode 100644 index 0000000..332624f --- /dev/null +++ b/.github/workflows/tools-unstable-linux.yml @@ -0,0 +1,30 @@ +on: + workflow_dispatch: + push: + branches: + - main + +name: fox32 tools Unstable - Linux + +jobs: + tools-unstable-linux: + name: Build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: Install Rust toolchain + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + override: true + + - name: Build + working-directory: gfx2inc + run: cargo build --release + + - name: Upload artifact + uses: actions/upload-artifact@v3 + with: + name: gfx2inc + path: gfx2inc/target/release/gfx2inc