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:
2
.github/workflows/alpine.build.sh
vendored
2
.github/workflows/alpine.build.sh
vendored
@@ -8,7 +8,7 @@ uname -a
|
||||
|
||||
make -j4
|
||||
|
||||
./v -version
|
||||
./v version
|
||||
|
||||
du -s .
|
||||
|
||||
|
||||
7
.github/workflows/alpine.test.sh
vendored
7
.github/workflows/alpine.test.sh
vendored
@@ -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
|
||||
|
||||
|
||||
32
.github/workflows/ci.yml
vendored
32
.github/workflows/ci.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user