-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (40 loc) · 1.32 KB
/
Copy pathtest.yml
File metadata and controls
41 lines (40 loc) · 1.32 KB
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
on: [push]
jobs:
build_linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- run: git submodule update --init --recursive
- name: Install GCC 15
run: |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
sudo apt-get update
sudo apt-get install -y gcc-15 g++-15
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-15 100
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-15 100
- run: make build
test_linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- run: git submodule update --init --recursive
- name: Install GCC 15
run: |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
sudo apt-get update
sudo apt-get install -y gcc-15 g++-15
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-15 100
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-15 100
- run: make test
build_mac:
runs-on: macos-latest
steps:
- uses: actions/checkout@v6
- run: git submodule update --init --recursive
- run: make build
test_mac:
runs-on: macos-latest
steps:
- uses: actions/checkout@v6
- run: git submodule update --init --recursive
- run: make test