summaryrefslogtreecommitdiff
path: root/tools/asm-processor/.github/workflows/test.yml
diff options
context:
space:
mode:
authorDerek Hensley <hensley.derek58@gmail.com>2025-09-04 17:56:01 -0700
committerGitHub <noreply@github.com>2025-09-04 17:56:01 -0700
commit61a38830b94c28b3fcead3e22161c3dd621d25c9 (patch)
tree8ae9664d2feae319bb7da12ddd7cc7e06751f1ae /tools/asm-processor/.github/workflows/test.yml
parenta4d5910cdb9bed05fa5aea4476a3cf4ef178be06 (diff)
Spimdisasm update (#243)HEADmain
* git subrepo pull tools/asm-processor subrepo: subdir: "tools/asm-processor" merged: "5c3984fc" upstream: origin: "git@github.com:simonlindholm/asm-processor.git" branch: "main" commit: "5c3984fc" git-subrepo: version: "0.4.9" origin: "git@github.com:ingydotnet/git-subrepo.git" commit: "ea10886" * Fix things needed for new spimdisasm release
Diffstat (limited to 'tools/asm-processor/.github/workflows/test.yml')
-rw-r--r--tools/asm-processor/.github/workflows/test.yml31
1 files changed, 31 insertions, 0 deletions
diff --git a/tools/asm-processor/.github/workflows/test.yml b/tools/asm-processor/.github/workflows/test.yml
new file mode 100644
index 0000000..f2071b1
--- /dev/null
+++ b/tools/asm-processor/.github/workflows/test.yml
@@ -0,0 +1,31 @@
+name: Build, Lint, and Test
+on:
+ push:
+ pull_request:
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Install dependencies
+ run: sudo apt-get install binutils-mips-linux-gnu -y
+ - uses: actions/checkout@v4
+ - name: Install Rust
+ uses: actions-rs/toolchain@v1
+ with:
+ toolchain: stable
+ override: true
+ - name: Build
+ run: cargo build --release
+ working-directory: rust
+ - name: Format
+ run: cargo fmt -- --check
+ working-directory: rust
+ - name: Check
+ run: cargo check
+ working-directory: rust
+ - name: Test
+ run: |
+ wget https://github.com/decompals/ido-static-recomp/releases/download/v1.2/ido-7.1-recomp-linux.tar.gz
+ tar -xf ido-7.1-recomp-linux.tar.gz
+ export MIPS_CC=./cc
+ ./run-tests.sh