Skip to content

Commit 38b475f

Browse files
authored
Merge pull request #343 from NixOS/build-fix
add missing <optional> include
2 parents 520e832 + fef6eb7 commit 38b475f

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,22 @@ on:
33
pull_request:
44
push:
55
jobs:
6-
tests:
6+
nix:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v2
1010
- uses: cachix/install-nix-action@v13
1111
- run: nix-build -A hydraJobs.release
12+
ubuntu:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: get toolchain version
17+
run: |
18+
c++ --version
19+
ld --version
20+
autoconf --version
21+
- run: |
22+
./bootstrap.sh
23+
./configure --with-asan --with-ubsan
24+
make -j$(nproc) check

src/patchelf.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
#include <string>
2727
#include <unordered_map>
2828
#include <vector>
29+
#include <optional>
2930

3031
#include <cassert>
3132
#include <cerrno>

0 commit comments

Comments
 (0)