ci: run fast.v on freebsd
parent
f1244bd7f1
commit
e6d79f2fa7
|
@ -3,4 +3,10 @@ freebsd_instance:
|
||||||
|
|
||||||
task:
|
task:
|
||||||
install_script: pkg install -y git
|
install_script: pkg install -y git
|
||||||
script: git clone https://github.com/vlang/v && cd v && make
|
script: |
|
||||||
|
echo 'Building V'
|
||||||
|
git clone https://github.com/vlang/v
|
||||||
|
cd v
|
||||||
|
make
|
||||||
|
echo 'Build cmd/tools/fast'
|
||||||
|
cd cmd/tools/fast && ../../../v fast.v && ./fast
|
||||||
|
|
|
@ -111,7 +111,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
./v tutorials/building_a_simple_web_blog_with_vweb/code/blog
|
./v tutorials/building_a_simple_web_blog_with_vweb/code/blog
|
||||||
- name: Build cmd/tools/fast
|
- name: Build cmd/tools/fast
|
||||||
run: cd cmd/tools/fast && ../../../v fast.v && ./fast -noupload
|
run: cd cmd/tools/fast && ../../../v fast.v && ./fast
|
||||||
|
|
||||||
ubuntu-tcc-boehm-gc:
|
ubuntu-tcc-boehm-gc:
|
||||||
needs: no-scheduling
|
needs: no-scheduling
|
||||||
|
|
|
@ -109,7 +109,7 @@ fn main() {
|
||||||
// exec('git checkout master')
|
// exec('git checkout master')
|
||||||
// os.write_file('last_commit.txt', commits[commits.len - 1]) ?
|
// os.write_file('last_commit.txt', commits[commits.len - 1]) ?
|
||||||
// Upload the result to github pages
|
// Upload the result to github pages
|
||||||
if !os.args.contains('-noupload') {
|
if os.args.contains('upload') {
|
||||||
os.chdir('website')
|
os.chdir('website')
|
||||||
os.execute_or_exit('git checkout gh-pages')
|
os.execute_or_exit('git checkout gh-pages')
|
||||||
os.cp('../index.html', 'index.html') ?
|
os.cp('../index.html', 'index.html') ?
|
||||||
|
|
|
@ -23,7 +23,7 @@ fn main() {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
// println('running ./fast')
|
// println('running ./fast')
|
||||||
resp := os.execute('./fast')
|
resp := os.execute('./fast -upload')
|
||||||
if resp.exit_code < 0 {
|
if resp.exit_code < 0 {
|
||||||
println(resp.output)
|
println(resp.output)
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue