-
Notifications
You must be signed in to change notification settings - Fork 5
40 lines (35 loc) · 1.11 KB
/
linux.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
on:
push:
pull_request:
name: "linux"
jobs:
build_x86_64:
name: Building Linux x86_64
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Install Rust Nightly
uses: dtolnay/rust-toolchain@stable
with:
toolchain: nightly-2024-05-18
components: rust-src
- name: Build binaries
run: ./tool/build_linux.sh x64
build_aarch64:
name: Building Linux aarch64
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository)
runs-on: ubuntu-arm64
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Install Rust Nightly
uses: dtolnay/rust-toolchain@stable
with:
toolchain: nightly-2024-05-18
components: rust-src
- name: Build binaries
run: ./tool/build_linux.sh aarch64