Skip to content

Commit cb7eef2

Browse files
authored
Merge pull request #1 from signetlabdei/master
Update fork
2 parents 56d1322 + 9400ad6 commit cb7eef2

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.github/workflows/main.yml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: CI
4+
5+
# Controls when the action will run. Triggers the workflow on push or pull request
6+
# events but only for the master branch
7+
on:
8+
push:
9+
branches: [ master ]
10+
pull_request:
11+
branches: [ master ]
12+
13+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
14+
jobs:
15+
# This workflow contains a single job called "build"
16+
build:
17+
# The type of runner that the job will run on
18+
runs-on: self-hosted
19+
20+
# Steps represent a sequence of tasks that will be executed as part of the job
21+
steps:
22+
- uses: actions/checkout@v2
23+
with:
24+
repository: 'nsnam/ns-3-dev-git'
25+
ref: 'master'
26+
27+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
28+
- uses: actions/checkout@v2
29+
with:
30+
path: 'src/quic'
31+
32+
- name: check that millicar is correctly installed
33+
run: ls src/ | grep quic
34+
35+
- name: enable only millicar
36+
run: printf "#! /usr/bin/env python \n modules_enabled = ['quic', 'applications']" > .ns3rc
37+
38+
- name: build and run the tests
39+
run: ./waf configure --enable-examples --enable-tests && ./waf build && ./test.py

0 commit comments

Comments
 (0)