Skip to content

Commit

Permalink
armel: run on ubicloud
Browse files Browse the repository at this point in the history
wrap meson in `linux32` so it stops thinking we are cross compiling from
arm64 to arm32
  • Loading branch information
Habbie committed Oct 5, 2024
1 parent fd3622d commit 62f3ae9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main-armel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
build-armel:
runs-on: ubuntu-latest
runs-on: ubicloud-standard-2-arm
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -23,9 +23,9 @@ jobs:
- name: Build armel image
run: cd scripts/build-targets && make armel
- name: Configure Meson
run: scripts/build-targets/run armel sh -c 'LDFLAGS="-static -latomic" meson setup build-armel --prefer-static -Dbuildtype=release -Dlvgl-driver=fbdev'
run: scripts/build-targets/run armel sh -c 'LDFLAGS="-static -latomic" linux32 meson setup build-armel --prefer-static -Dbuildtype=release -Dlvgl-driver=fbdev'
- name: Build
run: scripts/build-targets/run armel sh -c 'meson compile -C build-armel'
run: scripts/build-targets/run armel sh -c 'linux32 meson compile -C build-armel'
# FIXME: put something useful (git hash?) in artifact name. We also want this in other workflows.
- uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 62f3ae9

Please sign in to comment.