Skip to content

Commit d4ff5c7

Browse files
committed
Just build mac
1 parent 61c16d1 commit d4ff5c7

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,39 +12,47 @@ jobs:
1212
build:
1313
strategy:
1414
matrix:
15-
os: [ macOS-latest, ubuntu-18.04 ]
15+
os: [ macOS-latest ]
16+
# os: [ macOS-latest, ubuntu-18.04 ] GitHub actions removed ubuntu-18.04
1617
# os: [ macOS-latest, windows-latest, ubuntu-18.04 ]
1718
runs-on: ${{matrix.os}}
1819
steps:
1920
- name: Checkout the repo
2021
uses: actions/checkout@v2
22+
2123
- name: Install msys2
2224
if: matrix.os == 'windows-latest'
2325
uses: msys2/setup-msys2@v2
2426
with:
2527
msystem: MINGW64
2628
update: true
2729
install: git mingw-w64-x86_64-toolchain libsqlite
30+
2831
- name: Validate Gradle Wrapper
2932
uses: gradle/wrapper-validation-action@v1
33+
3034
- name: Cache gradle
3135
uses: actions/cache@v2
3236
with:
3337
path: ~/.gradle/caches
3438
key: ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }}
3539
restore-keys: |
3640
${{ runner.os }}-gradle-
41+
3742
- name: Cache konan
3843
uses: actions/cache@v2
3944
with:
4045
path: ~/.konan
4146
key: ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }}
4247
restore-keys: |
4348
${{ runner.os }}-gradle-
49+
4450
- name: Update Environment Variables
51+
if: matrix.os == 'windows-latest'
4552
shell: bash
4653
run: |
4754
echo "c:\msys64\mingw64\bin" >> $GITHUB_PATH
55+
4856
- name: Build
4957
run: ./gradlew build --no-daemon --stacktrace
5058

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ kotlin.code.style=official
22

33
GROUP=co.touchlab
44

5-
VERSION_NAME=1.2.3
5+
VERSION_NAME=1.3.0
66
KOTLIN_VERSION=1.9.20
77

88
kotlin.native.ignoreDisabledTargets=true

0 commit comments

Comments
 (0)