File tree 6 files changed +19
-11
lines changed
6 files changed +19
-11
lines changed Original file line number Diff line number Diff line change 19
19
ARCH : [armeabi-v7a, arm64-v8a, x86_64]
20
20
BuildType : [Debug, Release]
21
21
22
- runs-on : ' ubuntu-20 .04'
22
+ runs-on : ' ubuntu-22 .04'
23
23
24
24
steps :
25
25
- name : ' Checkout Code'
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ on: [push, workflow_dispatch]
10
10
jobs :
11
11
analyze :
12
12
name : ' Analyze'
13
- runs-on : ' ubuntu-20 .04'
13
+ runs-on : ' ubuntu-22 .04'
14
14
15
15
strategy :
16
16
fail-fast : false
Original file line number Diff line number Diff line change 19
19
matrix :
20
20
BuildType : [Debug, Release, BinDist]
21
21
22
- runs-on : ' ubuntu-20 .04'
22
+ runs-on : ' ubuntu-22 .04'
23
23
24
24
steps :
25
25
- name : ' Checkout Code'
Original file line number Diff line number Diff line change 42
42
CC : clang
43
43
CXX : clang++
44
44
45
- runs-on : ' ubuntu-20 .04'
45
+ runs-on : ' ubuntu-22 .04'
46
46
47
47
steps :
48
48
- name : ' Checkout Code'
Original file line number Diff line number Diff line change 18
18
fail-fast : false
19
19
matrix :
20
20
BuildType : [Debug, Release, BinDist]
21
+ os : [macOS-12, macOS-14]
21
22
22
- runs-on : ' macOS-11 '
23
+ runs-on : ${{ matrix.os }}
23
24
24
25
steps :
25
26
- name : ' Checkout Code'
32
33
33
34
- name : ' Download nCine-libraries, nCine Artifacts, and project data'
34
35
run : |
35
- export OS=darwin
36
+ if [[ "${{ matrix.os }}" == "macOS-14" ]]; then
37
+ export OS=macos14
38
+ else
39
+ export OS=macos12
40
+ fi
36
41
export CC=appleclang
37
42
export BRANCH_NAME=$(git describe --tags --exact-match 2> /dev/null || git symbolic-ref -q --short HEAD || git rev-parse --short HEAD)
38
43
@@ -101,11 +106,14 @@ jobs:
101
106
102
107
export PROJECT_NAME=${GITHUB_REPOSITORY##*/}
103
108
export BRANCH_NAME=$(git describe --tags --exact-match 2> /dev/null || git symbolic-ref -q --short HEAD || git rev-parse --short HEAD)
104
- export BRANCH_NAME=${GITHUB_REF#refs/heads/}
105
109
export DEPLOY_MESSAGE=`sed 's/PROJECT_NAME/'"$PROJECT_NAME"'/' <<< "$DEPLOY_MESSAGE"`
106
110
export DEPLOY_MESSAGE=`sed 's/BRANCH_NAME/'"$BRANCH_NAME"'/' <<< "$DEPLOY_MESSAGE"`
107
111
108
- export OS=darwin
112
+ if [[ "${{ matrix.os }}" == "macOS-14" ]]; then
113
+ export OS=macos14
114
+ else
115
+ export OS=macos12
116
+ fi
109
117
export CC=appleclang
110
118
export PROJECT_EXT=dmg
111
119
Original file line number Diff line number Diff line change 59
59
run : |
60
60
$env:MSYSTEM = "MINGW64"
61
61
62
- C:\msys64\usr\bin\bash -lc 'pacman --needed --noconfirm -S mingw-w64-x86_64-glew mingw-w64-x86_64-glfw mingw-w64-x86_64-SDL2 mingw-w64-x86_64-openal mingw-w64-x86_64-libvorbis mingw-w64-x86_64-libwebp mingw-w64-x86_64-lua cmake'
62
+ C:\msys64\usr\bin\bash -lc 'pacman --needed --noconfirm -S mingw-w64-x86_64-glew mingw-w64-x86_64-glfw mingw-w64-x86_64-SDL2 mingw-w64-x86_64-openal mingw-w64-x86_64-libvorbis mingw-w64-x86_64-libwebp mingw-w64-x86_64-lua mingw-w64-x86_64- cmake'
63
63
64
64
if ("${{ matrix.CC }}" -eq "gcc") { C:\msys64\usr\bin\bash -lc 'pacman --needed --noconfirm -S mingw-w64-x86_64-gcc' }
65
65
else { C:\msys64\usr\bin\bash -lc 'pacman --needed --noconfirm -S mingw-w64-x86_64-clang' }
@@ -115,9 +115,9 @@ jobs:
115
115
$env:MSYSTEM = "MINGW64"
116
116
117
117
if ("${{ matrix.BuildType }}" -eq "BinDist")
118
- { C:\msys64\usr\bin\bash.exe -lc ' cmake -G \" MSYS Makefiles\" -B ../$PROJECT_NAME-build-${{ matrix.BuildType }} -D NCPROJECT_OPTIONS_PRESETS=${{ matrix.BuildType }} -D nCine_DIR=$(pwd) /../nCine/lib/cmake/nCine' }
118
+ { C:\msys64\usr\bin\bash.exe -lc " cmake -G ' MSYS Makefiles' -B ../$env: PROJECT_NAME-build-${{ matrix.BuildType }} -D NCPROJECT_OPTIONS_PRESETS=${{ matrix.BuildType }} -D nCine_DIR=$(cygpath -m $PWD /../nCine/lib/cmake/nCine)" }
119
119
else
120
- { C:\msys64\usr\bin\bash.exe -lc ' cmake -G \" MSYS Makefiles\" -B ../$PROJECT_NAME-build-${{ matrix.BuildType }} -D CMAKE_BUILD_TYPE=${{ matrix.BuildType }} -D nCine_DIR=$(pwd) /../nCine/lib/cmake/nCine' }
120
+ { C:\msys64\usr\bin\bash.exe -lc " cmake -G ' MSYS Makefiles' -B ../$env: PROJECT_NAME-build-${{ matrix.BuildType }} -D CMAKE_BUILD_TYPE=${{ matrix.BuildType }} -D nCine_DIR=$(cygpath -m $PWD /../nCine/lib/cmake/nCine)" }
121
121
122
122
- name : ' Make'
123
123
env :
You can’t perform that action at this time.
0 commit comments