Skip to content

Commit

Permalink
ci improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
roaminro committed Dec 24, 2023
1 parent cb360e6 commit ce1035e
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 72 deletions.
69 changes: 0 additions & 69 deletions .github/workflows/ci-macos.yml

This file was deleted.

41 changes: 41 additions & 0 deletions .github/workflows/macos-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: macos-ci

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ${{ matrix.platform }}
name: "${{ matrix.platform }} ${{ matrix.nodeversion }}"

strategy:
matrix:
platform: [macos-13]
node-version: [18.x]

steps:
- uses: actions/checkout@v4

- name: Install Docker
run: |-
# Install Docker
brew install docker
# Docker on macOS misses daemon due to licensing, so install colima as runtime
brew install colima
# Start the daemon
colima start
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: yarn --frozen-lockfile

- name: Run ci
run: yarn ci
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test
name: ubuntu-ci

on:
push:
Expand All @@ -18,7 +18,8 @@ jobs:
node-version: [18.x]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[![Test](https://github.com/roaminro/local-koinos/actions/workflows/test.yml/badge.svg)](https://github.com/roaminro/local-koinos/actions/workflows/test.yml)
[![ubuntu-ci](https://github.com/roaminro/local-koinos/actions/workflows/ubuntu-ci.yml/badge.svg)](https://github.com/roaminro/local-koinos/actions/workflows/ubuntu-ci.yml)
[![macos-ci](https://github.com/roaminro/local-koinos/actions/macos/ubuntu-ci.yml/badge.svg)](https://github.com/roaminro/local-koinos/actions/workflows/macos-ci.yml)

# Local-Koinos

Expand Down

0 comments on commit ce1035e

Please sign in to comment.