1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

cgen: treat the main module like any other v module

This commit is contained in:
Delyan Angelov
2020-07-01 01:53:53 +03:00
committed by GitHub
parent 81e4d3fd09
commit 78e1127d99
53 changed files with 720 additions and 535 deletions

View File

@@ -8,7 +8,7 @@ uname -a
make -j4
./v -version
./v version
du -s .

View File

@@ -10,7 +10,12 @@ du -s .
ls -lat
./v test-compiler
##./v test-compiler
## try running the known failing tests first to get faster feedback
./v test vlib/builtin/string_test.v vlib/strings/builder_test.v
./v test-fixed
./v build-vbinaries

View File

@@ -55,15 +55,15 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
# - name: Build V
# uses: spytheman/docker_alpine_v@v7.0
# with:
# entrypoint: .github/workflows/alpine.build.sh
# - name: Test V
# uses: spytheman/docker_alpine_v@v7.0
# with:
# entrypoint: .github/workflows/alpine.test.sh
- name: Build V
uses: spytheman/docker_alpine_v@v7.0
with:
entrypoint: .github/workflows/alpine.build.sh
- name: Test V
uses: spytheman/docker_alpine_v@v7.0
with:
entrypoint: .github/workflows/alpine.test.sh
macos:
runs-on: ${{ matrix.os }}
@@ -176,8 +176,6 @@ jobs:
../../vprod -backend x64 -o 1m 1m.v
echo "Running it..."
ls
- name: V self compilation with -autofree
run: ./v -o v2 -autofree cmd/v && ./v2 -o v3 -autofree cmd/v && ./v3 -o v4 -autofree cmd/v
# - name: SDL examples
# run: git clone --depth 1 https://github.com/vlang/sdl && cd sdl
@@ -188,6 +186,18 @@ jobs:
# with:
# github-token: ${{ secrets.GITHUB_TOKEN }}
ubuntu-autofree-selfcompile:
runs-on: ubuntu-18.04
env:
VFLAGS: -cc gcc
steps:
- uses: actions/checkout@v2
- name: Build V
run: make -j4
- name: V self compilation with -autofree
run: ./v -o v2 -autofree cmd/v && ./v2 -o v3 -autofree cmd/v && ./v3 -o v4 -autofree cmd/v
ubuntu-musl:
runs-on: ubuntu-18.04
env: