Skip to content
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.

Add github actions CI and remove circle ci #230

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
62 changes: 0 additions & 62 deletions .circleci/config.yml

This file was deleted.

60 changes: 60 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: Build tray-electron
on:
push:
branches:
- "master"
pull_request: {}

jobs:
build-win:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- windows-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Setup nodejs
uses: actions/setup-node@v3
with:
node-version: 16.13.0
- name: Install dependencies tray-electron
run: npm install
- name: Install dependecies react
run: cd frontend && npm install
- name: Generate Builds
run: npm run release:cross
- name: Upload electron-tray artifact
uses: actions/upload-artifact@v3
with:
name: windows-tray-electron
path: release/crc-tray-win32-x64

build-mac:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- macos-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Setup nodejs
uses: actions/setup-node@v3
with:
node-version: 16.13.0
- name: Install dependencies tray-electron
run: npm install
- name: Install dependecies react
run: cd frontend && npm install
- name: Generate Builds
run: npm run release:mac-universal
- name: Upload electron-tray artifact
uses: actions/upload-artifact@v3
with:
name: macos-tray-electron
path: release/crc-tray-darwin-universal