blob: f2071b1daf372c0d4465685c06099b1c4a91648f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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
|