diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bc0d181..9c4ccb8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: - name: Run Norminette run: make norm build: - name: Build + Check allowed functions + name: build + check allowed functions runs-on: macos-12 steps: - name: Checkout repository @@ -30,10 +30,6 @@ jobs: run: make bonus - name: Build push_swap run: make - - name: check - run: nm -u push_swap - - name: check2 - run: nm -u checker - name: check allowed_functions run: test/check_allowed_functions.sh unit_test: diff --git a/test/check_allowed_functions.sh b/test/check_allowed_functions.sh index ecbc1da..a76c4f7 100755 --- a/test/check_allowed_functions.sh +++ b/test/check_allowed_functions.sh @@ -15,7 +15,7 @@ check_binary_symbols() { done } -allowed_functions=("read" "write" "malloc" "free" "exit" "error") +allowed_functions=("read" "write" "malloc" "free" "exit" "error" "dyld_stub_binder") # Check symbols for push_swap check_binary_symbols "push_swap"