Update to latest Orbit nightly build to pick up new JUnit #915
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Test | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 90 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: dorny/paths-filter@v2 | |
id: filter | |
with: | |
filters: | | |
dsf: | |
- 'dsf-gdb/**' | |
- 'dsf/**' | |
- 'debug/**' | |
- 'jtag/**' | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
cache: maven | |
- name: Install GCC & GDB & other build essentials | |
run: | | |
sudo apt-get -y install build-essential gcc g++ gdb gdbserver | |
gdb --version | |
gcc --version | |
gdbserver --version | |
- name: Build and Test | |
run: | | |
export DISPLAY=:99 | |
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 & | |
echo 0| sudo tee /proc/sys/kernel/yama/ptrace_scope | |
mvn \ | |
clean verify -B -V \ | |
-Dmaven.test.failure.ignore=true \ | |
-DexcludedGroups=flakyTest,slowTest \ | |
-P baseline-compare-and-replace \ | |
-P build-standalone-debugger-rcp \ | |
-Ddsf.gdb.tests.timeout.multiplier=50 \ | |
-Ddsf-gdb.skip.tests=$(test ${{ steps.filter.outputs.dsf }} == 'false' && echo 'true' || echo 'false') \ | |
-Dindexer.timeout=300 | |
- name: Upload Logs | |
uses: actions/upload-artifact@v3 | |
if: success() || failure() | |
with: | |
name: Code Cleanliness Detailed Logs | |
path: '*.log' | |
- name: Upload Test Results | |
uses: actions/upload-artifact@v3 | |
if: success() || failure() | |
with: | |
name: test-results | |
path: | | |
*/*/target/surefire-reports/*.xml | |
terminal/plugins/org.eclipse.tm.terminal.test/target/surefire-reports/*.xml |