File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Build and Release C++ Binaries for ARM64 and x86_64
2+
3+ on :
4+ release :
5+ types : [created]
6+
7+ jobs :
8+ build :
9+ runs-on : ubuntu-latest
10+ strategy :
11+ matrix :
12+ include :
13+ - architecture : amd64
14+ target : x86_64-linux-gnu
15+ - architecture : arm64
16+ target : aarch64-linux-gnu
17+ steps :
18+ - uses : actions/checkout@v3
19+
20+ - name : Install Dependencies
21+ run : |
22+ sudo apt-get update
23+ sudo apt-get install -y g++-aarch64-linux-gnu gcc-aarch64-linux-gnu
24+ sudo apt-get install -y g++-multilib gcc-multilib
25+ sudo apt-get install -y build-essential libcurl4-openssl-dev libjson-c-dev
26+
27+ - name : Build
28+ run : |
29+ make ARCH=${{ matrix.architecture }}
30+ env :
31+ CC : ${{ matrix.target }}-gcc
32+ CXX : ${{ matrix.target }}-g++
33+
34+ - name : Upload Artifact
35+ uses : actions/upload-artifact@v2
36+ with :
37+ name : dgnsm-${{ matrix.architecture }}
38+ path : path/to/your/binary
You can’t perform that action at this time.
0 commit comments