-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (34 loc) · 1.12 KB
/
binary.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: Nu-Tongues Binary Generation
on:
workflow_dispatch
jobs:
build_amd64:
runs-on: buildjet-4vcpu-ubuntu-2204
steps:
- uses: actions/[email protected]
- name: Install needed packages
run: |
sudo rm -rf /var/lib/apt/lists/*
sudo sed -i 's/jammy/.\/devel/g' /etc/apt/sources.list
sudo apt-get update && sudo apt-get install rustc cargo -y
- name: Build
run: cargo build --target=x86_64-unknown-linux-gnu
- uses: actions/[email protected]
with:
name: nu-tongues (AMD64)
path: target/x86_64-unknown-linux-gnu
build_arm64:
runs-on: buildjet-4vcpu-ubuntu-2204-arm
steps:
- uses: actions/[email protected]
- name: Install needed packages
run: |
sudo rm -rf /var/lib/apt/lists/*
sudo sed -i 's/jammy/.\/devel/g' /etc/apt/sources.list
sudo apt-get update && sudo apt-get install rustc cargo -y
- name: Build
run: cargo build --target=aarch64-unknown-linux-gnu
- uses: actions/[email protected]
with:
name: nu-tongues (ARM64)
path: target/aarch64-unknown-linux-gnu