fix problems related to running tests as root or sudo #7
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: debian bookworm | |
on: | |
push: | |
branches: | |
- main | |
- devel | |
pull_request: | |
jobs: | |
container-test-job: | |
runs-on: ubuntu-latest | |
container: | |
image: debian:bookworm-slim | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: install packages | |
run: apt-get update && apt-get install autoconf build-essential nettle-dev --yes | |
- name: bootstrap | |
run: ./bootstrap.sh | |
- name: configure | |
run: ./configure --enable-warnings CXXFLAGS=-std=c++11 | |
- name: make | |
run: make | |
- name: make check | |
run: make check | |
- name: make distcheck | |
run: make distcheck CXXFLAGS=-std=c++11 |