Skip to content

Commit

Permalink
updating workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
agracio committed Oct 28, 2024
1 parent 67d673b commit dbf160f
Showing 1 changed file with 44 additions and 44 deletions.
88 changes: 44 additions & 44 deletions .github/workflows/build-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
strategy:
# fail-fast: false
matrix:
# electron: [29, 30, 31, 32, 33]
electron: [32, 33]
electron: [29, 30, 31, 32, 33]
# electron: [32, 33]
os: [windows-2022]

name: build ${{ matrix.os }}-electron-${{ matrix.electron }}
Expand All @@ -24,49 +24,49 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

# - name: Setup env
# uses: ./.github/actions/setup-env
# with:
# electron: '${{ matrix.electron }}.0.0'
# os: ${{ matrix.os }}
- name: Setup env
uses: ./.github/actions/setup-env
with:
electron: '${{ matrix.electron }}.0.0'
os: ${{ matrix.os }}

# - name: install node-gyp
# run: npm i -g node-gyp
- name: install node-gyp
run: npm i -g node-gyp

# - name: Create release folder
# run: |
# mkdir "release\ia32\${{ matrix.electron }}.0.0"
# mkdir "release\x64\${{ matrix.electron }}.0.0"
# mkdir "release\arm64\${{ matrix.electron }}.0.0"
- name: Create release folder
run: |
mkdir "release\ia32\${{ matrix.electron }}.0.0"
mkdir "release\x64\${{ matrix.electron }}.0.0"
mkdir "release\arm64\${{ matrix.electron }}.0.0"
# - name: Build ia32
# timeout-minutes: 30
# uses: ./.github/actions/build
# with:
# electron: ${{ matrix.electron }}
# arch: 'ia32'
- name: Build ia32
timeout-minutes: 30
uses: ./.github/actions/build
with:
electron: ${{ matrix.electron }}
arch: 'ia32'

# - name: Build x64
# timeout-minutes: 30
# uses: ./.github/actions/build
# with:
# electron: ${{ matrix.electron }}
# arch: 'x64'
- name: Build x64
timeout-minutes: 30
uses: ./.github/actions/build
with:
electron: ${{ matrix.electron }}
arch: 'x64'

# - name: Build arm64
# timeout-minutes: 30
# uses: ./.github/actions/build
# with:
# electron: ${{ matrix.electron }}
# arch: 'arm64'
- name: Build arm64
timeout-minutes: 30
uses: ./.github/actions/build
with:
electron: ${{ matrix.electron }}
arch: 'arm64'

# - name: Upload artifacts
# uses: actions/upload-artifact@v4
# if: success()
# with:
# name: electron-edge-js-${{ matrix.electron }}.0.0
# path: |
# release
- name: Upload artifacts
uses: actions/upload-artifact@v4
if: success()
with:
name: electron-edge-js-${{ matrix.electron }}.0.0
path: |
release
electron-versions:
runs-on: ubuntu-22.04
Expand Down Expand Up @@ -94,10 +94,10 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

# - name: Test build
# uses: ./.github/actions/test-build
# with:
# electron: ${{ matrix.electron }}
# os: ${{ matrix.os }}
- name: Test build
uses: ./.github/actions/test-build
with:
electron: ${{ matrix.electron }}
os: ${{ matrix.os }}


0 comments on commit dbf160f

Please sign in to comment.