-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Bump DMD to 2.109.0 * Condense RUN commands * Remove mount and readonly flags
- Loading branch information
Showing
6 changed files
with
12 additions
and
13 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
FROM dlanguage/dmd:2.080.0 | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y jq && \ | ||
apt-get purge --auto-remove -y && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
FROM ubuntu:24.04 | ||
RUN apt update && \ | ||
apt install jq wget -y && \ | ||
wget https://master.dl.sourceforge.net/project/d-apt/files/d-apt.list -O /etc/apt/sources.list.d/d-apt.list && \ | ||
apt update --allow-insecure-repositories && \ | ||
apt -y --allow-unauthenticated install --reinstall d-apt-keyring && \ | ||
apt update && \ | ||
apt install dmd-compiler dub -y | ||
WORKDIR /opt/test-runner | ||
COPY . . | ||
ENTRYPOINT ["/opt/test-runner/bin/run.sh"] |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"version": 1, | ||
"status": "fail", | ||
"message": "example_all_fail ~master: building configuration \"example_all_fail-test-library\"...\nLinking...\nRunning ./example_all_fail-test-library \ncore.exception.AssertError@source/example_all_fail.d(13): unittest failure\n1/1 unittests FAILED\nProgram exited with code 1" | ||
"message": " Linking example_all_fail-test-library\n Running example_all_fail-test-library \ncore.exception.AssertError@source/example_all_fail.d(13): unittest failure\n1/1 modules FAILED unittests\nError Program exited with code 1" | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"version": 1, | ||
"status": "error", | ||
"message": "example_empty_file ~master: building configuration \"example_empty_file-test-library\"...\n\u001b[01;31m\u001b[Ksource/example_empty_file.d(8,13): Error: undefined identifier `isLeap`\u001b[m\u001b[K\n\u001b[01;31m\u001b[Ksource/example_empty_file.d(13,17): Error: undefined identifier `isLeap`\u001b[m\u001b[K\n\u001b[01;31m\u001b[Ksource/example_empty_file.d(16,16): Error: undefined identifier `isLeap`\u001b[m\u001b[K\n\u001b[01;31m\u001b[Ksource/example_empty_file.d(19,16): Error: undefined identifier `isLeap`\u001b[m\u001b[K\n\u001b[01;31m\u001b[Ksource/example_empty_file.d(22,17): Error: undefined identifier `isLeap`\u001b[m\u001b[K\n\u001b[01;31m\u001b[Ksource/example_empty_file.d(25,17): Error: undefined identifier `isLeap`\u001b[m\u001b[K\n\u001b[01;31m\u001b[Ksource/example_empty_file.d(28,16): Error: undefined identifier `isLeap`\u001b[m\u001b[K\n\u001b[01;31m\u001b[Ksource/example_empty_file.d(31,16): Error: undefined identifier `isLeap`\u001b[m\u001b[K\n\u001b[01;31m\u001b[Ksource/example_empty_file.d(34,17): Error: undefined identifier `isLeap`\u001b[m\u001b[K\n/dlang/dmd-2.080.0/linux/bin64/dmd failed with exit code 1." | ||
"message": "\u001b[01;31m\u001b[Ksource/example_empty_file.d(8,13): Error: undefined identifier `isLeap`\u001b[m\u001b[K\n\u001b[01;31m\u001b[Ksource/example_empty_file.d(13,17): Error: undefined identifier `isLeap`\u001b[m\u001b[K\n\u001b[01;31m\u001b[Ksource/example_empty_file.d(16,16): Error: undefined identifier `isLeap`\u001b[m\u001b[K\n\u001b[01;31m\u001b[Ksource/example_empty_file.d(19,16): Error: undefined identifier `isLeap`\u001b[m\u001b[K\n\u001b[01;31m\u001b[Ksource/example_empty_file.d(22,17): Error: undefined identifier `isLeap`\u001b[m\u001b[K\n\u001b[01;31m\u001b[Ksource/example_empty_file.d(25,17): Error: undefined identifier `isLeap`\u001b[m\u001b[K\n\u001b[01;31m\u001b[Ksource/example_empty_file.d(28,16): Error: undefined identifier `isLeap`\u001b[m\u001b[K\n\u001b[01;31m\u001b[Ksource/example_empty_file.d(31,16): Error: undefined identifier `isLeap`\u001b[m\u001b[K\n\u001b[01;31m\u001b[Ksource/example_empty_file.d(34,17): Error: undefined identifier `isLeap`\u001b[m\u001b[K\nError /usr/bin/dmd failed with exit code 1." | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"version": 1, | ||
"status": "fail", | ||
"message": "example_partial_fail ~master: building configuration \"example_partial_fail-test-library\"...\nLinking...\nRunning ./example_partial_fail-test-library \ncore.exception.AssertError@source/example_partial_fail.d(38): unittest failure\n1/1 unittests FAILED\nProgram exited with code 1" | ||
"message": " Linking example_partial_fail-test-library\n Running example_partial_fail-test-library \ncore.exception.AssertError@source/example_partial_fail.d(38): unittest failure\n1/1 modules FAILED unittests\nError Program exited with code 1" | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"version": 1, | ||
"status": "error", | ||
"message": "example_syntax_error ~master: building configuration \"example_syntax_error-test-library\"...\n\u001b[01;31m\u001b[Ksource/example_syntax_error.d(3,24): Error: found `uint` when expecting `)`\u001b[m\u001b[K\n\u001b[01;31m\u001b[Ksource/example_syntax_error.d(3,29): Error: semicolon expected following function declaration\u001b[m\u001b[K\n\u001b[01;31m\u001b[Ksource/example_syntax_error.d(3,33): Error: no identifier for declarator `year`\u001b[m\u001b[K\n\u001b[01;31m\u001b[Ksource/example_syntax_error.d(3,33): Error: declaration expected, not `)`\u001b[m\u001b[K\n\u001b[01;31m\u001b[Ksource/example_syntax_error.d(13,5): Error: declaration expected, not `assert`\u001b[m\u001b[K\n\u001b[01;31m\u001b[Ksource/example_syntax_error.d(18,9): Error: declaration expected, not `assert`\u001b[m\u001b[K\n\u001b[01;31m\u001b[Ksource/example_syntax_error.d(21,9): Error: declaration expected, not `assert`\u001b[m\u001b[K\n\u001b[01;31m\u001b[Ksource/example_syntax_error.d(24,9): Error: declaration expected, not `assert`\u001b[m\u001b[K\n\u001b[01;31m\u001b[Ksource/example_syntax_error.d(27,9): Error: declaration expected, not `assert`\u001b[m\u001b[K\n\u001b[01;31m\u001b[Ksource/example_syntax_error.d(30,9): Error: declaration expected, not `assert`\u001b[m\u001b[K\n\u001b[01;31m\u001b[Ksource/example_syntax_error.d(33,9): Error: declaration expected, not `assert`\u001b[m\u001b[K\n\u001b[01;31m\u001b[Ksource/example_syntax_error.d(36,9): Error: declaration expected, not `assert`\u001b[m\u001b[K\n\u001b[01;31m\u001b[Ksource/example_syntax_error.d(39,9): Error: declaration expected, not `assert`\u001b[m\u001b[K\n\u001b[01;31m\u001b[Ksource/example_syntax_error.d(41,1): Error: unrecognized declaration\u001b[m\u001b[K\n/dlang/dmd-2.080.0/linux/bin64/dmd failed with exit code 1." | ||
"message": "\u001b[01;31m\u001b[Ksource/example_syntax_error.d(3,24): Error: found `uint` when expecting `)`\u001b[m\u001b[K\n\u001b[01;31m\u001b[Ksource/example_syntax_error.d(3,29): Error: semicolon expected following function declaration, not `year`\u001b[m\u001b[K\n\u001b[01;31m\u001b[Ksource/example_syntax_error.d(3,33): Error: no identifier for declarator `year`\u001b[m\u001b[K\n\u001b[01;31m\u001b[Ksource/example_syntax_error.d(3,33): Error: declaration expected, not `)`\u001b[m\u001b[K\n\u001b[01;31m\u001b[Ksource/example_syntax_error.d(13,5): Error: declaration expected, not `assert`\u001b[m\u001b[K\n\u001b[01;31m\u001b[Ksource/example_syntax_error.d(18,9): Error: declaration expected, not `assert`\u001b[m\u001b[K\n\u001b[01;31m\u001b[Ksource/example_syntax_error.d(21,9): Error: declaration expected, not `assert`\u001b[m\u001b[K\n\u001b[01;31m\u001b[Ksource/example_syntax_error.d(24,9): Error: declaration expected, not `assert`\u001b[m\u001b[K\n\u001b[01;31m\u001b[Ksource/example_syntax_error.d(27,9): Error: declaration expected, not `assert`\u001b[m\u001b[K\n\u001b[01;31m\u001b[Ksource/example_syntax_error.d(30,9): Error: declaration expected, not `assert`\u001b[m\u001b[K\n\u001b[01;31m\u001b[Ksource/example_syntax_error.d(33,9): Error: declaration expected, not `assert`\u001b[m\u001b[K\n\u001b[01;31m\u001b[Ksource/example_syntax_error.d(36,9): Error: declaration expected, not `assert`\u001b[m\u001b[K\n\u001b[01;31m\u001b[Ksource/example_syntax_error.d(39,9): Error: declaration expected, not `assert`\u001b[m\u001b[K\n\u001b[01;31m\u001b[Ksource/example_syntax_error.d(41,1): Error: unmatched closing brace\u001b[m\u001b[K\nError /usr/bin/dmd failed with exit code 1." | ||
} |