Skip to content

Commit

Permalink
build(ci): add github action to run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
NichtsHsu committed Feb 1, 2024
1 parent 1051613 commit 2160270
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/build-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build Tests

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- name: Install GCC 13
run: |
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt update
sudo apt install -y gcc-13 g++-13
- name: Install just
run: |
sudo apt install cargo
cargo install just
- uses: actions/checkout@v3
- name: Build and Run tests
run: |
just t

0 comments on commit 2160270

Please sign in to comment.