diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index 3949821..0000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Build -on: [pull_request, push] - -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v3 - - uses: carlosperate/arm-none-eabi-gcc-action@v1 - - name: Install nwlink - uses: actions/setup-node@v4 - with: - node-version: 22 - - run: npm install -g nwlink - - run: echo "$HOME/.npm-global/bin" >> $GITHUB_PATH - - name: Install Rust toolchain - uses: actions-rs/toolchain@v1 - with: - toolchain: nightly - target: thumbv7em-none-eabihf - - name: Install just - uses: extractions/setup-just@v3 - - name: Build app - run: just build diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml new file mode 100644 index 0000000..1504681 --- /dev/null +++ b/.github/workflows/check.yml @@ -0,0 +1,14 @@ +name: Full check +on: [pull_request] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v3 + - uses: carlosperate/arm-none-eabi-gcc-action@v1 + - name: Install dependencies + run: bash ./setup.sh <<< y + - name: Build app + run: just check diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 769d6f8..06d8a7e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -25,7 +25,7 @@ jobs: - name: Install just uses: extractions/setup-just@v3 - name: Build app - run: just build + run: just build-epsilon - run: mv target/thumbv7em-none-eabihf/release/Numcraft target/thumbv7em-none-eabihf/release/Numcraft.nwa - uses: actions/upload-artifact@v4 with: