Skip to content

Commit

Permalink
chore(actions): remove osx and win
Browse files Browse the repository at this point in the history
  • Loading branch information
JPBM135 committed Jan 17, 2024
1 parent 73bf3b1 commit 965fc3f
Show file tree
Hide file tree
Showing 2 changed files with 275 additions and 274 deletions.
106 changes: 53 additions & 53 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,79 +4,79 @@ on:
workflow_dispatch:
push:
branches:
- main
- releases/*
- main
- releases/*
paths-ignore:
- '**.md'
- "**.md"
pull_request:
branches:
- '**'
- "**"
paths-ignore:
- '**.md'
- "**.md"

jobs:
build:
strategy:
matrix:
runtime: [ linux-x64, linux-arm64, linux-arm, win-x64, win-arm64, osx-x64, osx-arm64 ]
runtime: [linux-x64, linux-arm64, linux-arm]
include:
- runtime: linux-x64
os: ubuntu-latest
devScript: ./dev.sh
- runtime: linux-x64
os: ubuntu-latest
devScript: ./dev.sh

- runtime: linux-arm64
os: ubuntu-latest
devScript: ./dev.sh
- runtime: linux-arm64
os: ubuntu-latest
devScript: ./dev.sh

- runtime: linux-arm
os: ubuntu-latest
devScript: ./dev.sh
- runtime: linux-arm
os: ubuntu-latest
devScript: ./dev.sh

- runtime: osx-x64
os: macOS-latest
devScript: ./dev.sh
# - runtime: osx-x64
# os: macOS-latest
# devScript: ./dev.sh

- runtime: osx-arm64
os: macOS-latest
devScript: ./dev.sh
# - runtime: osx-arm64
# os: macOS-latest
# devScript: ./dev.sh

- runtime: win-x64
os: windows-2019
devScript: ./dev
# - runtime: win-x64
# os: windows-2019
# devScript: ./dev

- runtime: win-arm64
os: windows-latest
devScript: ./dev
# - runtime: win-arm64
# os: windows-latest
# devScript: ./dev

runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3

# Build runner layout
- name: Build & Layout Release
run: |
${{ matrix.devScript }} layout Release ${{ matrix.runtime }}
working-directory: src
# Build runner layout
- name: Build & Layout Release
run: |
${{ matrix.devScript }} layout Release ${{ matrix.runtime }}
working-directory: src

# Run tests
- name: L0
run: |
${{ matrix.devScript }} test
working-directory: src
if: matrix.runtime != 'linux-arm64' && matrix.runtime != 'linux-arm' && matrix.runtime != 'osx-arm64' && matrix.runtime != 'win-arm64'
# Run tests
- name: L0
run: |
${{ matrix.devScript }} test
working-directory: src
if: matrix.runtime != 'linux-arm64' && matrix.runtime != 'linux-arm' && matrix.runtime != 'osx-arm64' && matrix.runtime != 'win-arm64'

# Create runner package tar.gz/zip
- name: Package Release
if: github.event_name != 'pull_request'
run: |
${{ matrix.devScript }} package Release
working-directory: src
# Create runner package tar.gz/zip
- name: Package Release
if: github.event_name != 'pull_request'
run: |
${{ matrix.devScript }} package Release
working-directory: src

# Upload runner package tar.gz/zip as artifact
- name: Publish Artifact
if: github.event_name != 'pull_request'
uses: actions/upload-artifact@v2
with:
name: runner-package-${{ matrix.runtime }}
path: |
_package
# Upload runner package tar.gz/zip as artifact
- name: Publish Artifact
if: github.event_name != 'pull_request'
uses: actions/upload-artifact@v2
with:
name: runner-package-${{ matrix.runtime }}
path: |
_package
Loading

0 comments on commit 965fc3f

Please sign in to comment.