Skip to content

Commit

Permalink
Update build_linux.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
igortru authored Jun 12, 2024
1 parent 00d2908 commit e9d19ee
Showing 1 changed file with 30 additions and 31 deletions.
61 changes: 30 additions & 31 deletions .github/workflows/build_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,35 +40,34 @@ jobs:
name: reseek-linux-binary
path: /home/runner/work/reseek/reseek/bin/reseek

build-aarch64:
name: Linux aarch64
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
# 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}:/reseek"
install: |
apt-get update -q -y
apt-get install -q -y make g++ file git python3 ccache
run: |
git config --global --add safe.directory /
cd /reseek
uname -a
lscpu
cd src/
python3 build_linux.py
file /reseek/bin/reseek | grep aarch64
- name: Upload binary artifact
uses: actions/upload-artifact@v4
with:
name: reseek-linux-aarch64-binary
path: /reseek/bin/reseek

# - name: Build
# uses: uraimo/run-on-arch-action@v2
# with:
# arch: aarch64
# distro: ubuntu20.04
# githubToken: ${{ github.token }}
# dockerRunArgs: |
# --volume "${PWD}:/reseek"
# install: |
# apt-get update -q -y
# apt-get install -q -y make g++ file git python3 ccache
# run: |
# git config --global --add safe.directory /
# cd /reseek
# uname -a
# lscpu
# cd src/
# python3 build_linux.py
# file /reseek/bin/reseek | grep aarch64
# - name: Upload binary artifact
# uses: actions/upload-artifact@v4
# with:
# name: reseek-linux-aarch64-binary
# path: /reseek/bin/reseek

0 comments on commit e9d19ee

Please sign in to comment.