Skip to content

Commit 9ab7ecf

Browse files
committed
change position
1 parent 61612cf commit 9ab7ecf

1 file changed

Lines changed: 19 additions & 21 deletions

File tree

.github/workflows/main.yml

Lines changed: 19 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ jobs:
3030
- name: Run linter
3131
run: |
3232
python3 -m flake8 .
33-
ubuntu-gcc-arm64-build:
33+
ubuntu-gcc-build:
3434
needs:
3535
- clang-format
3636
- python-lint
37-
runs-on: ubuntu-24.04-arm
37+
runs-on: ubuntu-24.04
3838
steps:
3939
- uses: actions/checkout@v4
4040
with:
@@ -47,7 +47,7 @@ jobs:
4747
- name: ccache
4848
uses: hendrikmuhs/ccache-action@v1.2
4949
with:
50-
key: ${{ runner.os }}-gcc-arm64
50+
key: ${{ runner.os }}-gcc
5151
create-symlink: true
5252
max-size: 1G
5353
- name: CMake configure
@@ -60,6 +60,11 @@ jobs:
6060
env:
6161
CC: gcc-14
6262
CXX: g++-14
63+
- name: Archive revert list
64+
uses: actions/upload-artifact@v4
65+
with:
66+
name: revert-list
67+
path: build/revert-list.txt
6368
- name: Build project
6469
run: |
6570
cmake --build build --parallel
@@ -71,17 +76,16 @@ jobs:
7176
cmake --build build --target install
7277
- name: Archive installed package
7378
run: |
74-
tar -czvf ubuntu-gcc-arm64-install.tar.gz -C install .
79+
tar -czvf ubuntu-gcc-install.tar.gz -C install .
7580
- name: Upload installed package
7681
uses: actions/upload-artifact@v4
7782
with:
78-
name: ubuntu-gcc-arm64-install
79-
path: ubuntu-gcc-arm64-install.tar.gz
80-
ubuntu-gcc-build:
83+
name: ubuntu-gcc-install
84+
path: ubuntu-gcc-install.tar.gz
85+
ubuntu-gcc-arm64-build:
8186
needs:
82-
- clang-format
83-
- python-lint
84-
runs-on: ubuntu-24.04
87+
- ubuntu-gcc-build
88+
runs-on: ubuntu-24.04-arm
8589
steps:
8690
- uses: actions/checkout@v4
8791
with:
@@ -94,7 +98,7 @@ jobs:
9498
- name: ccache
9599
uses: hendrikmuhs/ccache-action@v1.2
96100
with:
97-
key: ${{ runner.os }}-gcc
101+
key: ${{ runner.os }}-gcc-arm64
98102
create-symlink: true
99103
max-size: 1G
100104
- name: CMake configure
@@ -107,11 +111,6 @@ jobs:
107111
env:
108112
CC: gcc-14
109113
CXX: g++-14
110-
- name: Archive revert list
111-
uses: actions/upload-artifact@v4
112-
with:
113-
name: revert-list
114-
path: build/revert-list.txt
115114
- name: Build project
116115
run: |
117116
cmake --build build --parallel
@@ -123,12 +122,12 @@ jobs:
123122
cmake --build build --target install
124123
- name: Archive installed package
125124
run: |
126-
tar -czvf ubuntu-gcc-install.tar.gz -C install .
125+
tar -czvf ubuntu-gcc-arm64-install.tar.gz -C install .
127126
- name: Upload installed package
128127
uses: actions/upload-artifact@v4
129128
with:
130-
name: ubuntu-gcc-install
131-
path: ubuntu-gcc-install.tar.gz
129+
name: ubuntu-gcc-arm64-install
130+
path: ubuntu-gcc-arm64-install.tar.gz
132131
ubuntu-gcc-test:
133132
needs:
134133
- ubuntu-gcc-build
@@ -286,8 +285,7 @@ jobs:
286285
path: ubuntu-clang-install.tar.gz
287286
ubuntu-clang-arm64-build:
288287
needs:
289-
- clang-format
290-
- python-lint
288+
- ubuntu-clang-build
291289
runs-on: ubuntu-24.04-arm
292290
steps:
293291
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)