Run apt-get update first

This commit is contained in:
Joachim Nilsson 2019-12-16 11:08:57 +01:00 committed by GitHub
parent 55a12321c0
commit ce4a3c1f0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,19 +8,21 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Build dependencies - name: Install build dependencies ...
run: sudo apt-get -y install tree tshark run:
- sudo apt-get update
- sudo apt-get -y install tree tshark
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- name: Generate and run configure script - name: Generate and run configure script ...
run: ./autogen.sh && ./configure run: ./autogen.sh && ./configure
- name: Build daemon - name: Build project ...
run: make run: make
- name: Unit tests - name: Run project unit tests ...
run: make check || (cat test/test-suite.log; cat test/start.log; cat test/remote.log; false) run: make check || (cat test/test-suite.log; cat test/start.log; cat test/remote.log; false)
# - name: clang-tidy check # - name: clang-tidy check
# uses: muxee/clang-tidy-action@0.0.1-rc1 # uses: muxee/clang-tidy-action@0.0.1-rc1
# - name: SonarCloud Scan # - name: SonarCloud Scan
# uses: SonarSource/sonarcloud-github-action@v1.1 # uses: SonarSource/sonarcloud-github-action@v1.1
- name: Installation - name: Check project installation ...
run: make install DESTDIR=/tmp/tok; tree /tmp/tok run: make install DESTDIR=/tmp/tok; tree /tmp/tok