Skip to content

Commit

Permalink
Add CI
Browse files Browse the repository at this point in the history
  • Loading branch information
antoyo committed Nov 8, 2024
1 parent 413ac7d commit 98b2445
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# TODO: Run cargo clippy.
# TODO: Switch to stable Rust.

name: CI

on:
- push
- pull_request

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
toolchain:
- nightly

steps:
- uses: actions/checkout@v4

- run: gcc -print-multi-os-directory

- name: Install dependencies
run: sudo apt-get install nasm

- name: Setup Rust
run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}

- name: Compile
run: |
cd tiger
cargo build
- name: Test
run: |
cd tiger
cargo test

0 comments on commit 98b2445

Please sign in to comment.