From 4b8ea60a3b3d4a6cab64aebdee860b37a30f5a4e Mon Sep 17 00:00:00 2001 From: Manas Jayanth <3097018+ManasJayanth@users.noreply.github.com> Date: Sat, 25 May 2024 11:52:00 +0530 Subject: [PATCH] CI: add github actions for other platforms Namely, 1. Linux Intel 2. Darwin Intel 3. Darwin M1 4. Windows Intel --- .github/workflows/build.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..64b9e2a --- /dev/null +++ b/.github/workflows/build.yml @@ -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/upload-artifact@v4.3.1 + with: + name: dependencies-cache-${{ matrix.os }} + path: _export +