File tree Expand file tree Collapse file tree 2 files changed +27
-7
lines changed
Expand file tree Collapse file tree 2 files changed +27
-7
lines changed Original file line number Diff line number Diff line change 1414 runs-on : " ${{ matrix.os }}"
1515 strategy :
1616 matrix :
17- os : [ubuntu-24.04, ubuntu-22.04]
17+ os : [ubuntu-24.04, ubuntu-22.04, ubuntu-24.04-arm ]
1818 env :
1919 AFL_SKIP_CPUFREQ : 1
2020 AFL_I_DONT_CARE_ABOUT_MISSING_CRASHES : 1
Original file line number Diff line number Diff line change @@ -35,20 +35,41 @@ jobs:
3535 apt-get install -y libcmocka-dev &&
3636 make -i tests
3737 "
38+ build-and-test-arm64 :
39+ name : Test arm64 image
40+ runs-on : ubuntu-24.04-arm
41+ steps :
42+ - name : Checkout
43+ uses : actions/checkout@v4
44+ - name : Set up Docker Buildx
45+ uses : docker/setup-buildx-action@v3
46+ - name : Build arm64
47+ uses : docker/build-push-action@v6
48+ with :
49+ context : .
50+ tags : aflplusplus:test-arm64
51+ load : true
52+ cache-to : type=gha,mode=max
53+ build-args : |
54+ TEST_BUILD=1
55+ - name : Test arm64
56+ run : >
57+ docker run --rm aflplusplus:test-arm64 bash -c "
58+ apt-get update &&
59+ apt-get install -y libcmocka-dev &&
60+ make -i tests
61+ "
3862
3963 push :
4064 name : Push amd64 and arm64 images
4165 runs-on : ubuntu-latest
4266 needs :
4367 - build-and-test-amd64
68+ - build-and-test-arm64
4469 if : ${{ github.event_name == 'push' && github.repository == 'AFLplusplus/AFLplusplus' }}
4570 steps :
4671 - name : Checkout
4772 uses : actions/checkout@v3
48- # - name: Set up QEMU
49- # uses: docker/setup-qemu-action@v2
50- # with:
51- # platforms: arm64
5273 - name : Set up Docker Buildx
5374 uses : docker/setup-buildx-action@v2
5475 - name : Login to docker.io
6990 uses : docker/build-push-action@v3
7091 with :
7192 context : .
72- platforms : linux/amd64
73- # ,linux/arm64
93+ platforms : linux/amd64,linux/arm64
7494 push : true
7595 tags : ${{ steps.push-tags.outputs.PUSH_TAGS }}
7696 cache-from : type=gha
You can’t perform that action at this time.
0 commit comments