diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index e3c9841..75c6399 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -2,8 +2,9 @@ name: docker on: push: -# schedule: -# - cron: "22 2 * * 2" + schedule: + - cron: "22 2 * * 2" + workflow_dispatch: jobs: build: @@ -11,22 +12,22 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 #- name: Set up QEMU # uses: docker/setup-qemu-action@v1 - name: Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - name: Login - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - name: Build and push - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v4 with: context: . push: true @@ -36,7 +37,7 @@ jobs: run: date --rfc-3339=seconds > lastBuild.txt - name: Commit and push - uses: EndBug/add-and-commit@v7 + uses: EndBug/add-and-commit@v9 with: add: "lastBuild.txt" push: true diff --git a/Dockerfile b/Dockerfile index 476c5bd..7aaea94 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,6 +14,7 @@ RUN apt-get update -qq \ ## Compiler flags from https://www.stats.ox.ac.uk/pub/bdr/memtests/README.txt ## ## Also add git autotools-dev automake so that we can build littler from source +## libclang-rt-16-dev now required ## RUN apt-get update -qq \ && apt-get install -t unstable -y --no-install-recommends \ @@ -32,6 +33,7 @@ RUN apt-get update -qq \ libblas-dev \ libbz2-dev \ libcairo2-dev \ + libclang-rt-16-dev \ libcurl4-openssl-dev \ libjpeg-dev \ liblapack-dev \ @@ -87,13 +89,12 @@ RUN cd /tmp/R-devel \ R_PRINTCMD=/usr/bin/lpr \ LIBnn=lib \ AWK=/usr/bin/awk \ - CC="clang -fsanitize=address,undefined -fno-sanitize=float-divide-by-zero -fno-omit-frame-pointer -fsanitize-address-use-after-scope -fno-sanitize=alignment" \ - CXX="clang++ -stdlib=libc++ -fsanitize=address,undefined -fno-sanitize=float-divide-by-zero -fno-omit-frame-pointer -fsanitize-address-use-after-scope -fno-sanitize=alignment -frtti" \ - CFLAGS="-g -O3 -Wall -pedantic -mtune=native" \ + CC="clang -fsanitize=address,undefined -fno-sanitize=float-divide-by-zero -fno-sanitize=alignment -fno-omit-frame-pointer" \ + CXX="clang++ -fsanitize=address,undefined -fno-sanitize=float-divide-by-zero -fno-sanitize=alignment -fno-omit-frame-pointer -frtti" \ + CFLAGS="-g -O3 -Wall -pedantic" \ FFLAGS="-g -O2 -mtune=native" \ - FCFLAGS="-g -O2 -mtune=native" \ - CXXFLAGS="-g -O3 -Wall -pedantic -mtune=native" \ - MAIN_LD="clang++ -stdlib=libc++ -fsanitize=undefined,address" \ + CXXFLAGS="-g -O3 -Wall -pedantic" \ + MAIN_LD="clang++ -fsanitize=undefined,address" \ FC="gfortran" \ F77="gfortran" \ ASAN_OPTIONS=detect_leaks=0 \