Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable-macos-ci #243

Merged
merged 2 commits into from
Jan 20, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 21 additions & 22 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: "CI"
on: [push, pull_request]
on:
push:
branches:
- master
Bluebugs marked this conversation as resolved.
Show resolved Hide resolved
- develop
pull_request:
workflow_dispatch:

jobs:
lint:
Expand Down Expand Up @@ -88,10 +94,10 @@ jobs:
- os: freebsd
- os: android
args: -app-id calc.sha${{ github.sha }}
## Not shared darwin image is available at the moment
# - os: darwin
# args: -app-id calc.sha${{ github.sha }}
# host: macos-latest
- os: darwin
args: -app-id calc.sha${{ github.sha }}
# Only macos-13 is supported as macos-14 is running in a VM on Mac M1 which are incompatible with docker/podman
host: macos-13
- os: web

## Currently not easily supported from GitHub actions.
Expand Down Expand Up @@ -137,13 +143,10 @@ jobs:
go install fyne.io/fyne/v2/cmd/fyne@latest ||
go get fyne.io/fyne/v2/cmd/fyne@latest

- name: Install Podman
- name: Install Docker
if: ${{ runner.os == 'macos' }}
run: |
brew install podman
podman machine init
podman machine start

uses: douglascamata/setup-docker-macos-action@v1-alpha

- name: Build
working-directory: calculator
run: |
Expand All @@ -170,11 +173,10 @@ jobs:
- os: freebsd
- os: android
args: -app-id calc.sha${{ github.sha }}
## Not shared darwin image is available at the moment
# - os: darwin
# args: -app-id calc.sha${{ github.sha }}
# host: macos-latest
# - os: web
- os: darwin
args: -app-id calc.sha${{ github.sha }}
# Only macos-13 is supported as macos-14 is running in a VM on Mac M1 which are incompatible with docker/podman
host: macos-13

## Currently not easily supported from GitHub actions.
## https://github.com/fyne-io/fyne-cross/pull/104#issuecomment-1099494308
Expand Down Expand Up @@ -219,13 +221,10 @@ jobs:
go install fyne.io/fyne/v2/cmd/fyne@latest ||
go get fyne.io/fyne/v2/cmd/fyne@latest

- name: Install Podman
- name: Install Docker
if: ${{ runner.os == 'macos' }}
run: |
brew install podman
podman machine init
podman machine start

uses: douglascamata/setup-docker-macos-action@v1-alpha

- name: Build
working-directory: terminal
run: |
Expand Down
Loading