forked from CGAL/cgal-testsuite-dockerfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
26 lines (20 loc) · 812 Bytes
/
tests.yml
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
name: Tests
on: [push, pull_request]
jobs:
testing:
runs-on: ubuntu-latest
strategy:
matrix:
test_platform: ['ArchLinux','CentOS-7','Debian-stable','Debian-testing','Fedora','Fedora-32','Fedora-rawhide','Ubuntu','Ubuntu-GCC-master']
steps:
- name: Git checkout
uses: actions/checkout@v1
- name: Test
run: bash -x ./test.sh ${{ matrix.test_platform }}
update:
runs-on: ubuntu-latest
needs: testing
if: ${{ github.ref == 'master' }} && ! ${{ github.event.issue.pull_request }}
steps:
- name: Update
run: openssl aes-256-cbc -K $encrypted_99d730745b24_key -iv $encrypted_99d730745b24_iv -in secret.txt.enc -out secret.txt -d; source ./secret.txt; docker login -u lrineau -p $PASS; bash -x ./push.sh $PLATFORM; fi