Skip to content

Commit c8e6978

Browse files
committed
ci: cleanup workflows
1 parent 213adf3 commit c8e6978

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

.github/workflows/amd64_linux.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ jobs:
2424
- uses: actions/checkout@v4
2525
- name: Install Ninja
2626
run: |
27-
sudo apt-get update
28-
sudo apt-get install ninja-build
29-
- name: Swig install
27+
sudo apt update
28+
sudo apt install -y ninja-build
29+
- name: Install SWIG
3030
run: |
3131
sudo apt install -y swig
3232
swig -version

.github/workflows/amd64_macos.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# ref: https://github.com/actions/runner-images
22
name: amd64 macOS
33

4-
on: [push, pull_request,workflow_dispatch]
4+
on: [push, pull_request, workflow_dispatch]
55

66
concurrency:
77
group: ${{github.workflow}}-${{github.ref}}
@@ -11,12 +11,12 @@ concurrency:
1111
jobs:
1212
native:
1313
strategy:
14-
matrix:
15-
cmake: [
16-
{generator: "Xcode", config: "Release", build: "ALL_BUILD", test: "RUN_TESTS", install: "install"},
17-
{generator: "Unix Makefiles", config: "Release", build: "all", test: "test", install: "install"}
18-
]
19-
fail-fast: false
14+
matrix:
15+
cmake: [
16+
{generator: "Xcode", config: "Release", build: "ALL_BUILD", test: "RUN_TESTS", install: "install"},
17+
{generator: "Unix Makefiles", config: "Release", build: "all", test: "test", install: "install"}
18+
]
19+
fail-fast: false
2020
name: amd64•macOS•CMake(${{matrix.cmake.generator}},${{matrix.cmake.config}})
2121
runs-on: macos-latest
2222
steps:

.github/workflows/amd64_windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ jobs:
6060
cmake --build build
6161
--config ${{matrix.cmake.config}}
6262
--target ALL_BUILD
63-
-v -- /verbosity:diag /maxcpucount
63+
-v -j2
6464
- name: Test
6565
run: >
6666
cmake --build build
6767
--config ${{matrix.cmake.config}}
6868
--target RUN_TESTS
69-
-v -- /verbosity:diag /maxcpucount
69+
-v
7070
- name: Install
7171
run: >
7272
cmake --build build

0 commit comments

Comments
 (0)