Skip to content

Commit

Permalink
Fix 3
Browse files Browse the repository at this point in the history
  • Loading branch information
Dadoum committed May 18, 2024
1 parent abd84e6 commit bc3dd80
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/actions/target-aarch64-linux-gnu/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ description: Adds a working aarch64-linux-gnu target to LDC.
runs:
using: composite
steps:
- name: Install Clang
- name: Install GCC
shell: bash
run: sudo apt-get update && sudo apt-get install -y gcc-aarch64-linux-gnu
run: sudo apt-get install -y gcc-aarch64-linux-gnu

- name: Set-up macOS cross-compilation
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/target-arm64-apple-macos/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ runs:
steps:
- name: Install Clang
shell: bash
run: sudo apt-get update && sudo apt-get install -y clang lld
run: sudo apt-get install -y clang lld

- name: Set-up macOS cross-compilation
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/target-x86_64-apple-darwin/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ runs:
steps:
- name: Install Clang
shell: bash
run: sudo apt-get update && sudo apt-get install -y clang lld
run: sudo apt-get install -y clang lld

- name: Set-up macOS cross-compilation
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/target-x86_64-windows-msvc/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ runs:
steps:
- name: Install Clang
shell: bash
run: sudo apt-get update && sudo apt-get install -y clang lld 7zip
run: sudo apt-get install -y clang lld 7zip

- name: Set-up macOS cross-compilation
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/write-version-file/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ runs:
steps:
- name: Write commit SHA in the version file
shell: bash
run:
run: |
cat << EOF | tee source/version_string.d
module version_string;
enum versionStr = "${{ inputs.version-text }}";
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/build-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,17 @@ jobs:
with:
submodules: recursive

- name: Update APT repos
run: sudo apt-get update

- name: Set-up D compiler
uses: ./.github/actions/setup-d-compiler
with:
target-triple: ${{ matrix.triple }}

- if: ${{ matrix.target == 'linux' }}
name: (Linux) Install dependencies
run: sudo apt-get update && sudo apt-get install -y libz-dev elfutils
run: sudo apt-get install -y libz-dev elfutils

- name: Write version file
uses: ./.github/actions/write-version-file
Expand Down

0 comments on commit bc3dd80

Please sign in to comment.