Skip to content

Commit

Permalink
[ci] Fix check-symbols failing on ubuntu-latest (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
swift-kim authored Nov 24, 2022
1 parent 2f6ee56 commit cb51f8e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest

strategy:
matrix:
Expand Down
3 changes: 2 additions & 1 deletion tools/check_symbols.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ def __str__(self):

@staticmethod
def parse(line):
return Symbol(line[:8].strip(), line[9], line[11:].strip())
# Format: " U abort@GLIBC_2.4" (addr can be empty)
return Symbol(line[:8].strip(), line[9], line[11:].strip().split('@')[0])


def check_symbol(sofile, allowlist):
Expand Down

0 comments on commit cb51f8e

Please sign in to comment.