-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (40 loc) · 989 Bytes
/
build-tests.yml
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
32
33
34
35
36
37
38
39
40
41
42
43
name: Build Tests
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
test-gcc-clang:
runs-on: ubuntu-latest
steps:
- name: Install just
run: |
sudo apt update
sudo apt install cargo
cargo install just
- name: Install GCC 12
run: |
sudo apt update
sudo apt install gcc-12 g++-12
- name: Install Clang 14
run: |
sudo apt update
sudo apt install llvm-14 libstdc++-12-dev
- uses: actions/checkout@v4
- name: Build and Run Tests with GCC 12
run: |
just t g++-12
- name: Build and Run Test with Clang 14
run: |
just t clang++-14
test-msvc:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: ilammy/msvc-dev-cmd@v1
with:
vsversion: 2022
- name: Build and run Test with MSVC
run: |
nmake /f nmakefile