-
Notifications
You must be signed in to change notification settings - Fork 9
38 lines (35 loc) · 1.11 KB
/
build.yml
File metadata and controls
38 lines (35 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Unit tests
on:
push:
branches: [ new-model ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
smalltalk:
- Pharo64-11
tensorflow: [ 2.15.0 ]
name: TF ${{ matrix.tensorflow }}+${{ matrix.smalltalk }}
steps:
- uses: actions/checkout@v4
- uses: hpi-swa/setup-smalltalkCI@v1
with:
smalltalk-image: ${{ matrix.smalltalk }}
- name: Install TensorFlow
run: ./scripts/install-tensorflow.sh --version=${{ matrix.tensorflow }} --path=$(pwd)
- name: Install Pharo Dependencies
run: ./scripts/install-pharo-dependencies.sh
- name: Load Image and Run Tests
run: smalltalkci -s ${{ matrix.smalltalk }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
LIBTENSORFLOW_PATH: ${{ github.workspace }}/lib/libtensorflow.so
timeout-minutes: 20
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
name: ${{matrix.os}}-${{matrix.smalltalk}}
token: ${{ secrets.CODECOV_TOKEN }}