-
Notifications
You must be signed in to change notification settings - Fork 23
46 lines (40 loc) · 1.17 KB
/
build_linux_aarch64.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
44
45
46
name: build_linux_aarch64
on:
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-aarch64:
name: Linux aarch64
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
uses: uraimo/run-on-arch-action@v2
with:
arch: aarch64
distro: ubuntu20.04
githubToken: ${{ github.token }}
dockerRunArgs: |
--volume "${PWD}:/muscle"
install: |
apt-get update -q -y
apt-get install -q -y make g++ file git python3
run: |
git config --global --add safe.directory /muscle
cd /muscle/src
rm -f vcxproj_make.py
wget https://raw.githubusercontent.com/rcedgar/vcxproj_make/806d016/vcxproj_make.py
chmod u+x ./vcxproj_make.py
./vcxproj_make.py --openmp
chmod u+x ./build_linux.bash
./build_linux.bash
- name: Upload binary artifact
uses: actions/upload-artifact@v4
with:
name: muscle-linux-aarch64
path: /home/runner/work/muscle/muscle/bin/muscle