Skip to content
This repository was archived by the owner on Jan 17, 2025. It is now read-only.

Commit 2c709a1

Browse files
authored
move github action to workflows folder (#100)
1 parent bddbc92 commit 2c709a1

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

.github/workflows/run-tests.yml

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: Swift Runtimes Build and Test
4+
5+
# Controls when the workflow will run
6+
on:
7+
# Triggers the workflow on push or pull request events but only for the "master" branch
8+
push:
9+
branches: [ "master" ]
10+
pull_request:
11+
branches: [ "master" ]
12+
13+
workflow_dispatch:
14+
15+
jobs:
16+
17+
Test:
18+
19+
runs-on: ubuntu-latest
20+
21+
steps:
22+
- name: Check out the repo
23+
uses: actions/checkout@v2
24+
25+
- name: update ca certificates
26+
run: sudo update-ca-certificates --fresh
27+
28+
- name: Setup
29+
run: ./tools/travis/setup.sh
30+
31+
- name: Fix Old ansible
32+
run: python -m pip install --user ansible==2.8.18
33+
34+
- name: Build
35+
run: ./tools/travis/build.sh
36+
37+
- name: Deploy
38+
run: ./tools/travis/deploy.sh
39+
40+
- name: Test
41+
run: ./tools/travis/test.sh
42+

0 commit comments

Comments
 (0)