diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..4e5db2b6 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,27 @@ +name: CI + +env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + +on: + release: + types: [created, edited] + +jobs: + build: + strategy: + matrix: + smalltalk: [ Pharo64-9.0, Pharo64-10 ] + os: [ macos-latest, windows-latest, ubuntu-latest] + runs-on: ${{ matrix.os }} + name: ${{ matrix.smalltalk }} on ${{ matrix.os }} + env: + PROJECT_NAME: PolyMath-${{ matrix.smalltalk }} + steps: + - uses: actions/checkout@v2 + - uses: hpi-swa/setup-smalltalkCI@v1 + with: + smalltalk-version: ${{ matrix.smalltalk }} + - run: smalltalkci -s ${{ matrix.smalltalk }} + shell: bash + timeout-minutes: 15 \ No newline at end of file diff --git a/.github/workflows/smalltalk-ci.yml b/.github/workflows/smalltalk-ci.yml index 8a499216..9d953608 100644 --- a/.github/workflows/smalltalk-ci.yml +++ b/.github/workflows/smalltalk-ci.yml @@ -1,31 +1,29 @@ -name: CI matrix +name: CI + +env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} on: push: - branches: [ master ] + branches: + - '**' pull_request: - branches: [ master ] - - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: + types: [assigned, opened, synchronize, reopened] -# A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: build: + runs-on: ubuntu-latest + env: + PROJECT_NAME: PolyMath-${{ matrix.smalltalk }} strategy: matrix: - os: [ macos-latest, windows-latest, ubuntu-latest] - smalltalk: [ Pharo64-9.0, Pharo64-10] - runs-on: ${{ matrix.os }} - name: ${{ matrix.smalltalk }} on ${{ matrix.os }} + smalltalk: [ Pharo64-9.0, Pharo64-10 ] + name: ${{ matrix.smalltalk }} steps: - uses: actions/checkout@v2 - - name: Setup smalltalkCI - uses: hpi-swa/setup-smalltalkCI@v1 + - uses: hpi-swa/setup-smalltalkCI@v1 with: - smalltalk-image: ${{ matrix.smalltalk }} - - name: Load Image and Run Tests - run: smalltalkci -s ${{ matrix.smalltalk }} - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - timeout-minutes: 15 + smalltalk-version: ${{ matrix.smalltalk }} + - run: smalltalkci -s ${{ matrix.smalltalk }} + shell: bash + timeout-minutes: 15 \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..8f0ced5a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +**/.DS_STORE