Skip to content

Commit 8b80a34

Browse files
committed
Revert until fixed upstream
1 parent d91383e commit 8b80a34

File tree

1 file changed

+5
-49
lines changed

1 file changed

+5
-49
lines changed

.github/workflows/remoteBuild.yml

Lines changed: 5 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,12 @@ jobs:
8686
- name: Install LLVM and dependencies (Ubuntu)
8787
if: ${{ matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-22.04' }}
8888
run: |
89-
# sudo apt-get update
89+
sudo apt-get update
9090
sudo apt-get install -y libcurl4-openssl-dev
9191
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
92-
# brew install zstd
93-
brew install llvm@20
92+
brew install zstd
93+
brew install llvm
9494
brew ls -v zstd
95-
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
9695
- name: Configure (macOS)
9796
if: ${{ matrix.os == 'macos-latest' }}
9897
run: |
@@ -109,10 +108,8 @@ jobs:
109108
run: |
110109
cmake -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_PREFIX_PATH="/usr/lib/x86_64-linux-gnu" -DADEPT_LINK_LLVM_STATIC=On -B ${{github.workspace}}/build -G Ninja
111110
env:
112-
LLVM_DIR: /home/linuxbrew/.linuxbrew/opt/llvm@20
111+
LLVM_DIR: /home/linuxbrew/.linuxbrew/opt/llvm
113112
zstd_DIR: /home/linuxbrew/.linuxbrew/opt/zstd
114-
LDFLAGS: "-L/home/linuxbrew/.linuxbrew/opt/llvm@20/lib"
115-
CPPFLAGS: "-I/home/linuxbrew/.linuxbrew/opt/llvm@20/include"
116113
- name: Build (Windows)
117114
if: ${{ matrix.os == 'windows-latest' }}
118115
shell: msys2 {0}
@@ -122,12 +119,6 @@ jobs:
122119
if: ${{ matrix.os != 'windows-latest' }}
123120
run: |
124121
cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
125-
- name: Test Build Artifact (Ubuntu)
126-
if: ${{ matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-22.04' }}
127-
run: |
128-
echo -e "foreign printf(format *ubyte, ...) int\nfunc main {\nprintf('Hello, world!\\n')\n}" > h.adept
129-
${{github.workspace}}/build/adept h.adept
130-
./h
131122
- name: Archive Build Result
132123
uses: a7ul/[email protected]
133124
with:
@@ -203,15 +194,6 @@ jobs:
203194
with:
204195
command: x
205196
files: build-${{ matrix.os }}.tar.gz
206-
- name: Install LLVM and dependencies (Ubuntu)
207-
if: ${{ matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-22.04' }}
208-
run: |
209-
sudo apt-get update
210-
sudo apt-get install -y libcurl4-openssl-dev
211-
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
212-
brew install zstd
213-
brew install llvm
214-
brew ls -v zstd
215197
- name: Install libcurl for curl demo (Ubuntu)
216198
if: ${{ matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-22.04' }}
217199
run: |
@@ -226,31 +208,6 @@ jobs:
226208
run: |
227209
$env:Path = "C:/ProgramData/chocolatey/lib/mingw/tools/install/mingw64/bin;$env:Path"
228210
python3 e2e-runner.py ../build/adept
229-
- name: E2E Test (Unix) (0)
230-
if: ${{ matrix.os != 'windows-latest' }}
231-
working-directory: ${{github.workspace}}/e2e
232-
run: |
233-
ldd ../build/adept
234-
- name: E2E Test (Unix) (1)
235-
if: ${{ matrix.os != 'windows-latest' }}
236-
working-directory: ${{github.workspace}}/e2e
237-
run: |
238-
set -x
239-
clang -v
240-
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
241-
../build/adept src/hello_world/main.adept --llvmir --no-result 2> hello.ll
242-
llc hello.ll --relocation-model=pic --filetype=obj -o hello.o
243-
file hello.o
244-
gcc hello.o -fPIE -o hello
245-
./hello
246-
clang -v
247-
sudo apt-get install -y gdb
248-
gdb -batch -ex "run" -ex "layout asm" -ex "layout regs" -ex "bt" -ex "p \$_siginfo._sifields._sigfault.si_addr" -ex "info registers" -ex "display/100i \$pc" --args ../build/adept src/hello_world/main.adept --no-type-info 2>&1
249-
- name: E2E Test (Unix) (2)
250-
if: ${{ matrix.os != 'windows-latest' }}
251-
working-directory: ${{github.workspace}}/e2e
252-
run: |
253-
src/hello_world/main
254211
- name: E2E Test (Unix)
255212
if: ${{ matrix.os != 'windows-latest' }}
256213
working-directory: ${{github.workspace}}/e2e
@@ -568,7 +525,7 @@ jobs:
568525
id: date
569526
run: echo "::set-output name=date::$(date '+%B %d %Y at %l:%M %p %Z')"
570527
- name: Release
571-
uses: IsaacShelton/[email protected].5
528+
uses: IsaacShelton/[email protected].4
572529
with:
573530
token: ${{secrets.GITHUB_TOKEN}}
574531
release: ${{env.releaseName}}
@@ -582,4 +539,3 @@ jobs:
582539
stage/Windows-x86_64-Standalone-Adept-${{env.shortVersion}}.zip
583540
stage/Ubuntu-x86_64-Standalone-Adept-${{env.shortVersion}}.zip
584541
stage/Ubuntu-22.04-x86_64-Standalone-Adept-${{env.shortVersion}}.zip
585-

0 commit comments

Comments
 (0)