File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 99 runs-on : ${{ matrix.operating-system }}
1010 strategy :
1111 matrix :
12- operating-system : [windows-latest,ubuntu-latest,macos-latest ]
12+ operating-system : [windows-latest,ubuntu-latest]
1313 lazarus-versions : [stable]
1414 steps :
1515 - uses : actions/checkout@v2
1616 - name : Install Lazarus
17171818 with :
1919 lazarus-version : ${{ matrix.lazarus-versions }}
20- include-packages : " Synapse 40.1"
2120 - name : Build the Main Application
2221 if : ${{ matrix.operating-system != 'macos-latest' }}
2322 run : lazbuild -B "source/project/tracker_editor/trackereditor.lpi"
2726 - name : Build the Unit Tests Application
2827 run : lazbuild -B "source/project/unit_test/tracker_editor_test.lpi"
2928 - name : Run the Unit Tests Application
29+ shell : bash
3030 run : source ./scripts/travis_unit_test.sh
Original file line number Diff line number Diff line change 33# Run unit test in Windows, Linux and macOS
44
55# ----------- check for Windows, Linux and macOS build
6- if [ " $TRAVIS_OS_NAME " = " linux " ]
6+ if [ " $RUNNER_OS " = " Linux " ]
77then
88 # show Linux OS version
99 uname -a
1616 xvfb-run enduser/test_trackereditor -a --format=plain
1717 set +e
1818
19- elif [ " $TRAVIS_OS_NAME " = " osx " ]
19+ elif [ " $RUNNER_OS " = " macOS " ]
2020then
2121 # show macOS version
2222 sw_vers
2929 enduser/test_trackereditor -a --format=plain
3030 set +e
3131
32- elif [ " $TRAVIS_OS_NAME " = " windows " ]
32+ elif [ " $RUNNER_OS " = " Windows " ]
3333then
3434 # Exit immediately if a command exits with a non-zero status.
3535 set -e
You can’t perform that action at this time.
0 commit comments