Skip to content

Commit

Permalink
Try env
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikSchierboom committed Apr 19, 2024
1 parent f91eab4 commit 340a624
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,5 @@ jobs:

- name: Run tests for all exercises
run: |
ls -al $HOME/gnucobol/bin
export PATH=$HOME/gnucobol/bin:$PATH
bin/setup-environment
bin/test
10 changes: 10 additions & 0 deletions bin/setup-environment
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/env bash

$gnucobolDir="${HOME}/gnucobol"
export PATH="${gnucobolDir}/bin:${PATH}"
export COB_CONFIG_DIR="${gnucobolDir}/config"
export COB_COPY_DIR="${gnucobolDir}/copy"
export COB_CFLAGS="-I ${gnucobolDir}/include"
export COB_LDFLAGS="-L ${gnucobolDir}/lib"
export COB_LIBRARY_PATH="${gnucobolDir}/lib"
export COB_LIBS="${gnucobolDir}/bin/libcob-4.dll"

0 comments on commit 340a624

Please sign in to comment.