Skip to content

Commit 42fbf29

Browse files
committed
Refactor build workflow to remove unnecessary steps and update matrix configuration for GCC 13
1 parent 1177668 commit 42fbf29

1 file changed

Lines changed: 1 addition & 28 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
include:
18-
- name: ubuntu-latest (gcc-13) Release
18+
- name: ubuntu-latest (make) Release
1919
os: ubuntu-latest
2020
preset: make
2121
build_type: Release
@@ -84,33 +84,6 @@ jobs:
8484
${{ github.workspace }}/build/${{ matrix.build_type }}/libgemma.lib
8585
${{ github.workspace }}/build/gemma
8686
${{ github.workspace }}/build/libgemma.a
87-
- uses: actions/checkout@v6
88-
89-
# Set up ccache
90-
- name: ccache
91-
uses: hendrikmuhs/ccache-action@v1.2
92-
93-
- name: Configure CMake
94-
run: >
95-
cmake --preset ${{ matrix.preset }}
96-
-S ${{ github.workspace }} -B ${{ github.workspace }}/build
97-
-D CMAKE_BUILD_TYPE=${{ matrix.build_type }}
98-
-D CMAKE_C_COMPILER_LAUNCHER=ccache
99-
-D CMAKE_CXX_COMPILER_LAUNCHER=ccache
100-
-DCMAKE_POLICY_VERSION_MINIMUM=3.5
101-
102-
- name: Buil
103-
run: cmake --build ${{ github.workspace }}/build --preset ${{ matrix.preset }} --config ${{ matrix.build_type }} -j 4
104-
105-
- name: Archive production artifacts
106-
uses: actions/upload-artifact@v6
107-
with:
108-
name: gemma-${{ matrix.os }}-${{ matrix.preset }}-${{ matrix.build_type }}
109-
path: |
110-
${{ github.workspace }}/build/${{ matrix.build_type }}/gemma.exe
111-
${{ github.workspace }}/build/${{ matrix.build_type }}/libgemma.lib
112-
${{ github.workspace }}/build/gemma
113-
${{ github.workspace }}/build/libgemma.a
11487
11588
bazel:
11689
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)