ditch C platform deps

This commit is contained in:
Anton-4 2023-11-22 19:37:49 +01:00
parent 6a18626b82
commit 6033733e49
No known key found for this signature in database
GPG key ID: 0971D718C0A9B937
6 changed files with 40 additions and 49 deletions

View file

@ -20,8 +20,6 @@ jobs:
- name: Run hello world test
run: docker-compose -f docker/nightly-ubuntu-latest/docker-compose.yml run roc examples/helloWorld.roc
- name: Run C platform test
run: docker-compose -f docker/nightly-ubuntu-latest/docker-compose.yml run roc examples/platform-switching/rocLovesC.roc
nightly-ubuntu-2204:
name: nightly-ubuntu-2204
@ -39,9 +37,6 @@ jobs:
- name: Run hello world test
run: docker-compose -f docker/nightly-ubuntu-2204/docker-compose.yml run roc examples/helloWorld.roc
- name: Run C platform test
run: docker-compose -f docker/nightly-ubuntu-2204/docker-compose.yml run roc examples/platform-switching/rocLovesC.roc
nightly-ubuntu-2004:
name: nightly-ubuntu-2004
runs-on: [ubuntu-20.04]
@ -58,9 +53,6 @@ jobs:
- name: Run hello world test
run: docker-compose -f docker/nightly-ubuntu-2004/docker-compose.yml run roc examples/helloWorld.roc
- name: Run C platform test
run: docker-compose -f docker/nightly-ubuntu-2004/docker-compose.yml run roc examples/platform-switching/rocLovesC.roc
nightly-debian-latest:
name: nightly-debian-latest
runs-on: [ubuntu-20.04]
@ -77,9 +69,6 @@ jobs:
- name: Run hello world test
run: docker-compose -f docker/nightly-debian-latest/docker-compose.yml run roc examples/helloWorld.roc
- name: Run C platform test
run: docker-compose -f docker/nightly-debian-latest/docker-compose.yml run roc examples/platform-switching/rocLovesC.roc
nightly-debian-bookworm:
name: nightly-debian-bookworm
runs-on: [ubuntu-20.04]
@ -95,6 +84,3 @@ jobs:
- name: Run hello world test
run: docker-compose -f docker/nightly-debian-bookworm/docker-compose.yml run roc examples/helloWorld.roc
- name: Run C platform test
run: docker-compose -f docker/nightly-debian-bookworm/docker-compose.yml run roc examples/platform-switching/rocLovesC.roc

View file

@ -2,15 +2,16 @@ FROM debian:bookworm
RUN apt-get update --fix-missing
RUN apt-get upgrade --yes
RUN apt-get install --yes \
wget \
libc-dev \
binutils \
build-essential \
clang
RUN apt-get install --yes wget
# you can leave out libc-dev and binutils if you don't need the REPL
RUN apt-get install --yes libc-dev binutils
RUN wget -q -O roc.tar.gz https://github.com/roc-lang/roc/releases/download/nightly/roc_nightly-linux_x86_64-latest.tar.gz
RUN mkdir /usr/lib/roc
# --strip-components=1 not needed once https://github.com/roc-lang/roc/issues/4118 is solved.
RUN tar -xvz -f roc.tar.gz --directory /usr/lib/roc --strip-components=1
ENV PATH="$PATH:/usr/lib/roc"

View file

@ -2,15 +2,16 @@ FROM debian:latest
RUN apt-get update --fix-missing
RUN apt-get upgrade --yes
RUN apt-get install --yes \
wget \
libc-dev \
binutils \
build-essential \
clang
RUN apt-get install --yes wget
# you can leave out libc-dev and binutils if you don't need the REPL
RUN apt-get install --yes libc-dev binutils
RUN wget -q -O roc.tar.gz https://github.com/roc-lang/roc/releases/download/nightly/roc_nightly-linux_x86_64-latest.tar.gz
RUN mkdir /usr/lib/roc
# --strip-components=1 not needed once https://github.com/roc-lang/roc/issues/4118 is solved.
RUN tar -xvz -f roc.tar.gz --directory /usr/lib/roc --strip-components=1
ENV PATH="$PATH:/usr/lib/roc"

View file

@ -2,15 +2,16 @@ FROM ubuntu:20.04
RUN apt-get update --fix-missing
RUN apt-get upgrade --yes
RUN apt-get install --yes \
wget \
libc-dev \
binutils \
build-essential \
clang
RUN apt-get install --yes wget
# you can leave out libc-dev and binutils if you don't need the REPL
RUN apt-get install --yes libc-dev binutils
RUN wget -q -O roc.tar.gz https://github.com/roc-lang/roc/releases/download/nightly/roc_nightly-linux_x86_64-latest.tar.gz
RUN mkdir /usr/lib/roc
# --strip-components=1 not needed once https://github.com/roc-lang/roc/issues/4118 is solved.
RUN tar -xvz -f roc.tar.gz --directory /usr/lib/roc --strip-components=1
ENV PATH="$PATH:/usr/lib/roc"

View file

@ -2,15 +2,16 @@ FROM ubuntu:22.04
RUN apt-get update --fix-missing
RUN apt-get upgrade --yes
RUN apt-get install --yes \
wget \
libc-dev \
binutils \
build-essential \
clang
RUN apt-get install --yes wget
# you can leave out libc-dev and binutils if you don't need the REPL
RUN apt-get install --yes libc-dev binutils
RUN wget -q -O roc.tar.gz https://github.com/roc-lang/roc/releases/download/nightly/roc_nightly-linux_x86_64-latest.tar.gz
RUN mkdir /usr/lib/roc
# --strip-components=1 not needed once https://github.com/roc-lang/roc/issues/4118 is solved.
RUN tar -xvz -f roc.tar.gz --directory /usr/lib/roc --strip-components=1
ENV PATH="$PATH:/usr/lib/roc"

View file

@ -2,15 +2,16 @@ FROM ubuntu:latest
RUN apt-get update --fix-missing
RUN apt-get upgrade --yes
RUN apt-get install --yes \
wget \
libc-dev \
binutils \
build-essential \
clang
RUN apt-get install --yes wget
# you can leave out libc-dev and binutils if you don't need the REPL
RUN apt-get install --yes libc-dev binutils
RUN wget -q -O roc.tar.gz https://github.com/roc-lang/roc/releases/download/nightly/roc_nightly-linux_x86_64-latest.tar.gz
RUN mkdir /usr/lib/roc
# --strip-components=1 not needed once https://github.com/roc-lang/roc/issues/4118 is solved.
RUN tar -xvz -f roc.tar.gz --directory /usr/lib/roc --strip-components=1
ENV PATH="$PATH:/usr/lib/roc"