summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorDenis Shienkov <denis.shienkov@gmail.com>2022-02-04 17:45:01 +0300
committerDenis Shienkov <denis.shienkov@gmail.com>2022-02-08 15:43:54 +0000
commita4046a72a29e70abe482e8d35276721ace375997 (patch)
treee60d22e3446428864538d2b873059ed647b19e18 /.github
parentafcda641beb222811d82d1fc75efd8a82653b66f (diff)
downloadqbs-a4046a72a29e70abe482e8d35276721ace375997.tar.gz
Configure CI for Digital Mars compiler
... and also as fix the typo in the DmcProbe.qbs file. Change-Id: I2f62b862b900c92be97c6eb6a9b461ac5973b8ea Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to '.github')
-rw-r--r--.github/actions/download-dm/action.yml15
-rw-r--r--.github/workflows/main.yml7
2 files changed, 22 insertions, 0 deletions
diff --git a/.github/actions/download-dm/action.yml b/.github/actions/download-dm/action.yml
new file mode 100644
index 000000000..5d24da3e2
--- /dev/null
+++ b/.github/actions/download-dm/action.yml
@@ -0,0 +1,15 @@
+name: 'Download DigitalMars'
+description: 'Downloads DigitalMars'
+inputs:
+ version:
+ description: 'DigitalMars version'
+ required: false
+ default: '8.57'
+runs:
+ using: "composite"
+ steps:
+ - name: Install DigitalMars
+ run: |
+ DM_DIR=$(./scripts/install-dm.sh -d $HOME/dm --version ${{ inputs.version }})
+ (cygpath -w ${DM_DIR} 2>/dev/null || echo ${DM_DIR}) >> ${GITHUB_PATH}
+ shell: bash
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 7199ea6c3..9bacd9898 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -808,6 +808,11 @@ jobs:
testProfile: 'watcom-2_0_0-x86',
script: './scripts/test-baremetal.sh',
}
+ - {
+ name: 'Run Windows tests (DigitalMars)',
+ testProfile: 'dmc-8_42_0-x86',
+ script: './scripts/test-baremetal.sh',
+ }
env:
QTEST_FUNCTION_TIMEOUT: 9000000
QBS_AUTOTEST_PROFILE: 'extra'
@@ -832,6 +837,8 @@ jobs:
run: choco install -y pkgconfiglite --download-checksum=6004df17818f5a6dbf19cb335cc92702
- name: Install OpenWatcom
uses: ./.github/actions/download-ow
+ - name: Install DigitalMars
+ uses: ./.github/actions/download-dm
- name: Setup Qbs
run: |
qbs setup-toolchains --detect