Skip to content

Commit

Permalink
CI: add github actions for other platforms
Browse files Browse the repository at this point in the history
Namely,

1. Linux Intel
2. Darwin Intel
3. Darwin M1
4. Windows Intel
  • Loading branch information
ManasJayanth committed May 25, 2024
1 parent 44ca5a9 commit 4b8ea60
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
name: Deploy
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- name: Install esy
run: npm install -g esy
- uses: esy/github-action@6a5070d392db3e8c776724674737cab37c07263d
with:
source-cache-key: 20240511-2
cache-key: ${{ hashFiles('esy.lock/index.json') }}-20240511-1
- name: Export esy cache
run: esy export-dependencies
- uses: actions/[email protected]
with:
name: dependencies-cache-${{ matrix.os }}
path: _export

0 comments on commit 4b8ea60

Please sign in to comment.