Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mplatt8 authored May 28, 2024
1 parent 0a7b998 commit 00be3d4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
jobs:
build-macos:
runs-on: macos-latest
env:
RPC_USER: "L2L"
RPC_PASSWORD: "drivechain"
steps:
- uses: actions/checkout@v3

Expand Down Expand Up @@ -120,6 +123,12 @@ jobs:
chmod +x ./scripts/drivechainintegration.sh || echo "Drivechain script not found, skipping chmod"
chmod +x ./scripts/functions.sh || echo "Function scrript not found, skipping chmod"
chmod +x ./scripts/config.sh || echo "Config script not found, skipping chmod"
- name: Create drivechain configuration file
run: |
mkdir -p ~/.drivechain/
echo "rpcuser=${{ env.RPC_USER }}" > ~/.drivechain/drivechain.conf
echo "rpcpassword=${{ env.RPC_PASSWORD }}" >> ~/.drivechain/drivechain.conf
echo "server=1" >> ~/.drivechain/drivechain.conf
- name: Run Tests
run: ./scripts/drivechainintegration.sh || echo "Script not found, skipping tests"
Expand Down

0 comments on commit 00be3d4

Please sign in to comment.