From d4ff5c7e4fe5e929f009b7a4586bd643035c34cd Mon Sep 17 00:00:00 2001 From: Kevin Galligan Date: Sat, 4 Nov 2023 11:42:43 -0400 Subject: [PATCH] Just build mac --- .github/workflows/build.yml | 10 +++++++++- gradle.properties | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index be10e2a0..3ba1f4af 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,12 +12,14 @@ jobs: build: strategy: matrix: - os: [ macOS-latest, ubuntu-18.04 ] + os: [ macOS-latest ] +# os: [ macOS-latest, ubuntu-18.04 ] GitHub actions removed ubuntu-18.04 # os: [ macOS-latest, windows-latest, ubuntu-18.04 ] runs-on: ${{matrix.os}} steps: - name: Checkout the repo uses: actions/checkout@v2 + - name: Install msys2 if: matrix.os == 'windows-latest' uses: msys2/setup-msys2@v2 @@ -25,8 +27,10 @@ jobs: msystem: MINGW64 update: true install: git mingw-w64-x86_64-toolchain libsqlite + - name: Validate Gradle Wrapper uses: gradle/wrapper-validation-action@v1 + - name: Cache gradle uses: actions/cache@v2 with: @@ -34,6 +38,7 @@ jobs: key: ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }} restore-keys: | ${{ runner.os }}-gradle- + - name: Cache konan uses: actions/cache@v2 with: @@ -41,10 +46,13 @@ jobs: key: ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }} restore-keys: | ${{ runner.os }}-gradle- + - name: Update Environment Variables + if: matrix.os == 'windows-latest' shell: bash run: | echo "c:\msys64\mingw64\bin" >> $GITHUB_PATH + - name: Build run: ./gradlew build --no-daemon --stacktrace diff --git a/gradle.properties b/gradle.properties index dc0a4241..089ee660 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,7 +2,7 @@ kotlin.code.style=official GROUP=co.touchlab -VERSION_NAME=1.2.3 +VERSION_NAME=1.3.0 KOTLIN_VERSION=1.9.20 kotlin.native.ignoreDisabledTargets=true