mirror of
https://github.com/zeldaret/af.git
synced 2026-09-26 13:33:16 -04:00
61a38830b9
* 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
32 lines
1.0 KiB
YAML
32 lines
1.0 KiB
YAML
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
|