Update check-commit.yml #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push | |
jobs: | |
linux: | |
runs-on: arm-ubuntu-22 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Update apt repos | |
run: sudo apt-get update | |
- name: Install base dependencies | |
run: sudo apt-get install build-essential xutils-dev libtool gperf autotools-dev automake pkg-config bsdmainutils libattr1-dev make automake bison byacc cmake curl g++-multilib binutils-gold bison byacc python3 | |
- name: Build depends | |
run: cd depends/ && make -j4 HOST=aarch64-linux-gnu | |
- name: Auto generate | |
run: ./autogen.sh | |
- name: configure | |
run: CONFIG_SITE=$PWD/depends/aarch64-linux-gnu/share/config.site ./configure --build=aarch64-linux-gnu --disable-bench --disable-tests --disable-dependency-tracking --disable-werror --prefix=`pwd`/depends/x86_64-linux-gnu --bindir=`pwd`/release/bin --libdir=`pwd`/release/lib | |
- name: make | |
run: make -j4 | |
- name: make check | |
run: make check -j4 | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: verge-aarch64.zip | |
path: | | |
./src/verged | |
./src/verge-cli | |
./src/verge-tx | |
./src/qt/verge-qt |