Skip to content

Commit

Permalink
Just build mac
Browse files Browse the repository at this point in the history
  • Loading branch information
kpgalligan committed Nov 4, 2023
1 parent 61c16d1 commit d4ff5c7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,39 +12,47 @@ 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
with:
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:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Cache konan
uses: actions/cache@v2
with:
path: ~/.konan
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

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d4ff5c7

Please sign in to comment.