Skip to content

Commit c70d0f8

Browse files
committed
ci: update
1 parent 31476e3 commit c70d0f8

File tree

1 file changed

+13
-17
lines changed

1 file changed

+13
-17
lines changed

.github/workflows/build.yml

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
name: "Windows-MSVC/2019/Static/X86/Release",
4545
os: windows-2019,
4646
config: Release,
47-
cmake_extra_args: -G "Visual Studio 16 2019" -A Win32 -DCMAKE_CXX_FLAGS="/O2",
47+
cmake_extra_args: -G "Visual Studio 16 2019" -A Win32,
4848
sudocmd: "",
4949
artifact_name: "Windows x86",
5050
cores: 2,
@@ -54,19 +54,19 @@ jobs:
5454
name: "Windows-MSVC/2019/Static/X64/Release",
5555
os: windows-2019,
5656
config: Release,
57-
cmake_extra_args: -G "Visual Studio 16 2019" -A x64 -DCMAKE_CXX_FLAGS="/O2",
57+
cmake_extra_args: -G "Visual Studio 16 2019" -A x64,
5858
sudocmd: "",
5959
artifact_name: "Windows x64",
6060
cores: 2,
6161
install_dir: "C:/Program Files/small"
6262
}
6363
- {
64-
name: "Ubuntu/20.04/Static/X64/Release",
65-
os: ubuntu-20.04,
64+
name: "Ubuntu/22.04/Static/X64/Release",
65+
os: ubuntu-22.04,
6666
config: Release,
67-
cmake_extra_args: "-DCMAKE_C_COMPILER=/usr/bin/gcc-10 -DCMAKE_CXX_COMPILER=/usr/bin/g++-10 -DCMAKE_CXX_FLAGS=\"-O2\"",
67+
cmake_extra_args: "",
6868
sudocmd: "sudo",
69-
artifact_name: "Linux",
69+
artifact_name: "Ubuntu 22.04",
7070
cores: 2,
7171
install_dir: "/usr/local/"
7272
}
@@ -76,22 +76,22 @@ jobs:
7676
config: Debug,
7777
cmake_extra_args: "-DCMAKE_C_COMPILER=/usr/bin/clang-15 -DCMAKE_CXX_COMPILER=/usr/bin/clang++-15 -DCMAKE_C_FLAGS='-fsanitize=address,pointer-compare,pointer-subtract,leak,undefined' -DCMAKE_CXX_FLAGS='-fsanitize=address,pointer-compare,pointer-subtract,leak,undefined'",
7878
sudocmd: "sudo",
79-
artifact_name: "Linux",
79+
artifact_name: "Ubuntu 22.04 fsanitize",
8080
cores: 2,
8181
install_dir: "/usr/local/"
8282
}
8383
- {
84-
name: "MacOSX/12/Static/X64/Release",
85-
os: macos-12,
84+
name: "MacOSX/15/Static/X64/Release",
85+
os: macos-15,
8686
config: Release,
87-
cmake_extra_args: "-DCMAKE_CXX_FLAGS=\"-O2\"",
87+
cmake_extra_args: "",
8888
sudocmd: "sudo",
89-
artifact_name: "MacOSX",
89+
artifact_name: "MacOSX 15",
9090
cores: 4,
9191
install_dir: "/usr/local/"
9292
}
9393
steps:
94-
- uses: actions/checkout@v2
94+
- uses: actions/checkout@v6
9595
- name: Create Work Dir
9696
run: mkdir build
9797
- name: Configure
@@ -127,11 +127,7 @@ jobs:
127127
working-directory: ./build
128128
run: ${{ matrix.config.sudocmd }} cpack
129129
- name: Archive Packages
130-
uses: actions/upload-artifact@v2
130+
uses: actions/upload-artifact@v6
131131
with:
132132
name: Binary Packages ${{ matrix.config.artifact_name }}
133133
path: build/small-?.?.?-*.*
134-
- name: Archive Installer Packages as is
135-
uses: kittaakos/upload-artifact-as-is@v0
136-
with:
137-
path: build/small-?.?.?-*.*

0 commit comments

Comments
 (0)