Skip to content

Commit

Permalink
For GitHub Actions builds (CI), move pharo.* flavors from "on-push" t…
Browse files Browse the repository at this point in the history
…o our monthly tier; see extra.yml. Third-party library builds are too flaky and obfuscate on-push CI results of vanilla OSVM. We have this already for newspeak.* flavors, which are also rarely used at this point but have some value to keep around.
  • Loading branch information
marceltaeumel committed Mar 21, 2023
1 parent fa509bd commit abd3f14
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 40 deletions.
23 changes: 19 additions & 4 deletions .github/workflows/extra.yml
Expand Up @@ -25,9 +25,10 @@ jobs:
# - { name: macos32x86, os: macos-latest }

flavor:
# Only newsqueak.* builds are fully prepared for all platforms
# Only newsqueak.* and pharo.cog.spur builds are fully prepared for all platforms
- newspeak.cog.spur
- newspeak.stack.spur
- pharo.cog.spur

include:
- arch: { name: win32x86, os: windows-2019 }
Expand All @@ -36,23 +37,37 @@ jobs:
flavor: squeak.stack.v3
- arch: { name: win32x86, os: windows-2019 }
flavor: squeak.cog.spur.lowcode
# - arch: { name: win64x64, os: windows-2019 }
# flavor: pharo.stack.spur # third-party not yet working
# - arch: { name: win32x86, os: windows-2019 }
# flavor: pharo.cog.spur.lowcode

- arch: { name: linux32x86, os: ubuntu-18.04 }
flavor: squeak.cog.v3
- arch: { name: linux32x86, os: ubuntu-18.04 }
flavor: squeak.stack.v3
- arch: { name: linux32x86, os: ubuntu-18.04 }
flavor: pharo.sista.spur
- arch: { name: linux32x86, os: ubuntu-18.04 }
flavor: pharo.cog.spur.lowcode
- arch: { name: linux32x86, os: ubuntu-18.04 }
flavor: pharo.stack.spur.lowcode

# - arch: { name: macos64x64, os: macos-10.15 }
# flavor: pharo.sista.spur # -Werror bc. decl. missing
- arch: { name: macos64x64, os: macos-10.15 }
flavor: pharo.stack.spur
# - arch: { name: macos64x64, os: macos-latest }
# flavor: pharo.cog.spur.lowcode # impl. decl. getThisSessionID
- arch: { name: macos64x64, os: macos-10.15 }
flavor: pharo.stack.spur.lowcode

exclude:
- arch: { name: win32x86, os: windows-2019 }
flavor: pharo.cog.spur # third-party not yet working
- arch: { name: win64x64, os: windows-2019 }
flavor: pharo.cog.spur # third-party not yet working

runs-on: ${{ matrix.arch.os }}
name: ${{ matrix.flavor }} for ${{ matrix.arch.name }}
env:
Expand All @@ -64,7 +79,7 @@ jobs:
MSYS_ENV: ${{ matrix.arch.name == 'win64x64' && 'x86_64' || 'i686' }}
steps:
- name: Checkout files
uses: actions/checkout@v2
uses: actions/checkout@v3
# with:
# ref: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.ref || 'refs/heads/Cog'}}

Expand All @@ -87,13 +102,13 @@ jobs:
run: ./deploy/pack-vm.sh

- name: Store artifact w/ revision
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ${{ env.ASSET_NAME }}_${{ env.ASSET_REVISION }}
path: products/${{ env.ASSET_NAME }}.${{ env.ASSET_EXTENSION }}

- name: Update artifact in latest-build
uses: ncipollo/release-action@v1.8.6
uses: ncipollo/release-action@v1
if: github.event_name == 'schedule' || (github.event.inputs.should-deploy == 'true' && endsWith( github.ref , 'Cog' ))
with:
prerelease: true
Expand Down
18 changes: 6 additions & 12 deletions .github/workflows/linux.yml
Expand Up @@ -47,15 +47,13 @@ on:
jobs:
build:
strategy:
fail-fast: true
fail-fast: false
matrix:
arch:
- linux64x64
- linux32x86
flavor:
flavor: # for selected pharo.* builds, see extra.yml
- squeak.cog.spur
- pharo.cog.spur
# - pharo.stack.spur # build not prepared
heartbeat:
- threaded
- itimer
Expand All @@ -69,10 +67,6 @@ jobs:
flavor: squeak.sista.spur
heartbeat: threaded
mode: fast
- arch: linux32x86
flavor: pharo.sista.spur
heartbeat: threaded
mode: fast
# squeak.stack.spur builds are not prepared for itimer
- arch: linux64x64
flavor: squeak.stack.spur
Expand All @@ -92,11 +86,11 @@ jobs:
steps:
- name: Checkout files
if: github.event_name != 'workflow_dispatch'
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Checkout files for new release candidate
if: github.event_name == 'workflow_dispatch'
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: refs/tags/${{ github.event.inputs.tag }}

Expand Down Expand Up @@ -128,7 +122,7 @@ jobs:
path: ${{ env.PRODUCTS_PATH }}/${{ env.ASSET_NAME }}.${{ env.ASSET_EXTENSION }}

- name: Update artifact in latest-build
uses: ncipollo/release-action@v1.8.6
uses: ncipollo/release-action@v1
if: github.event_name == 'push' && endsWith( github.ref , 'Cog' )
with:
prerelease: true
Expand All @@ -140,7 +134,7 @@ jobs:
body: ${{ github.event.head_commit.message }}

- name: Deploy artifact as new release candidate
uses: ncipollo/release-action@v1.8.6
uses: ncipollo/release-action@v1
if: github.event_name == 'workflow_dispatch'
with:
prerelease: true # release candidate
Expand Down
13 changes: 5 additions & 8 deletions .github/workflows/macos-arm.yml
Expand Up @@ -41,17 +41,14 @@ on:
jobs:
build:
strategy:
fail-fast: true
fail-fast: false
matrix:
arch:
- macos64ARMv8
flavor:
- squeak.cog.spur
# - squeak.sista.spur # -Werror bc. decl. missing
- squeak.stack.spur
# - pharo.cog.spur
# - pharo.sista.spur # -Werror bc. decl. missing
# - pharo.stack.spur
mode:
- fast
- debug
Expand All @@ -66,11 +63,11 @@ jobs:
steps:
- name: Checkout files
if: github.event_name != 'workflow_dispatch'
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Checkout files for new release candidate
if: github.event_name == 'workflow_dispatch'
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: refs/tags/${{ github.event.inputs.tag }}

Expand Down Expand Up @@ -107,7 +104,7 @@ jobs:
path: products/${{ env.ASSET_NAME }}.${{ env.ASSET_EXTENSION }}

- name: Update artifact in latest-build
uses: ncipollo/release-action@v1.8.6
uses: ncipollo/release-action@v1
if: github.event_name == 'push' && endsWith( github.ref , 'Cog' )
with:
prerelease: true
Expand All @@ -119,7 +116,7 @@ jobs:
body: ${{ github.event.head_commit.message }}

- name: Deploy artifact as new release candidate
uses: ncipollo/release-action@v1.8.6
uses: ncipollo/release-action@v1
if: github.event_name == 'workflow_dispatch'
with:
prerelease: true # release candidate
Expand Down
15 changes: 6 additions & 9 deletions .github/workflows/macos.yml
Expand Up @@ -41,18 +41,15 @@ on:
jobs:
build:
strategy:
fail-fast: true
fail-fast: false
matrix:
arch:
- macos64x64
# - macos32x86 # Might be deprecated in general
flavor:
flavor: # for selected pharo.* builds, see extra.yml
- squeak.cog.spur
# - squeak.sista.spur # -Werror bc. decl. missing
- squeak.stack.spur
- pharo.cog.spur
# - pharo.sista.spur # -Werror bc. decl. missing
- pharo.stack.spur
mode:
- fast
- debug
Expand All @@ -67,11 +64,11 @@ jobs:
steps:
- name: Checkout files
if: github.event_name != 'workflow_dispatch'
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Checkout files for new release candidate
if: github.event_name == 'workflow_dispatch'
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: refs/tags/${{ github.event.inputs.tag }}

Expand Down Expand Up @@ -108,7 +105,7 @@ jobs:
path: products/${{ env.ASSET_NAME }}.${{ env.ASSET_EXTENSION }}

- name: Update artifact in latest-build
uses: ncipollo/release-action@v1.8.6
uses: ncipollo/release-action@v1
if: github.event_name == 'push' && endsWith( github.ref , 'Cog' )
with:
prerelease: true
Expand All @@ -120,7 +117,7 @@ jobs:
body: ${{ github.event.head_commit.message }}

- name: Deploy artifact as new release candidate
uses: ncipollo/release-action@v1.8.6
uses: ncipollo/release-action@v1
if: github.event_name == 'workflow_dispatch'
with:
prerelease: true # release candidate
Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/win.yml
Expand Up @@ -44,16 +44,14 @@ on:
jobs:
build:
strategy:
fail-fast: true
fail-fast: false
matrix:
arch:
- win64x64
- win32x86
flavor:
flavor: # for selected pharo.* builds, see extra.yml
- squeak.cog.spur
- squeak.stack.spur
# - pharo.cog.spur # third-party not yet working
# - pharo.stack.spur # third-party not yet working
mode:
- fast
- debug
Expand All @@ -63,9 +61,6 @@ jobs:
- arch: win32x86
flavor: squeak.sista.spur
mode: fast
# - arch: win32x86
# flavor: pharo.sista.spur
# mode: fast

runs-on: windows-2019
name: ${{ matrix.flavor }} for ${{ matrix.arch }}${{ matrix.mode == 'debug' && ' (DEBUG)' || matrix.mode == 'assert' && ' (ASSERT)' || '' }}
Expand Down

0 comments on commit abd3f14

Please sign in to comment.