Skip to content
This repository was archived by the owner on Nov 4, 2021. It is now read-only.

Commit a4f7775

Browse files
committed
#33 ready for merge
1 parent b18f179 commit a4f7775

File tree

2 files changed

+31
-31
lines changed

2 files changed

+31
-31
lines changed

azure-pipelines.yml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,19 @@ schedules:
1313
always: true
1414

1515
stages:
16-
# - stage: build_bba
17-
# displayName: Build ECP5 chipdb (*.bba)
18-
# jobs:
19-
# - job: build_bba
20-
# displayName: Build ECP5 chipdb (*.bba)
21-
# pool:
22-
# vmImage: 'ubuntu-18.04'
23-
# steps:
24-
# - bash: ./build-bba.sh
25-
# displayName: Build ECP5 chipdb (*.bba)
26-
# name: build_bba
27-
# - publish: _packages/build_linux_x86_64/ecp5-bba-linux_x86_64-nightly.tar.gz
28-
# artifact: ecp5-bba
16+
- stage: build_bba
17+
displayName: Build ECP5 chipdb (*.bba)
18+
jobs:
19+
- job: build_bba
20+
displayName: Build ECP5 chipdb (*.bba)
21+
pool:
22+
vmImage: 'ubuntu-18.04'
23+
steps:
24+
- bash: ./build-bba.sh
25+
displayName: Build ECP5 chipdb (*.bba)
26+
name: build_bba
27+
- publish: _packages/build_linux_x86_64/ecp5-bba-linux_x86_64-nightly.tar.gz
28+
artifact: ecp5-bba
2929

3030
- stage: build_toolchain
3131
displayName: build toolchain
@@ -47,14 +47,14 @@ stages:
4747
options: "--name ci-container -v /usr/bin/docker:/tmp/docker:ro"
4848

4949
steps:
50-
# - download: current
51-
# artifact: ecp5-bba
50+
- download: current
51+
artifact: ecp5-bba
5252
- bash: |
5353
RELEASE_TAG=nightly-$(date +'%Y%m%d')
5454
# create pipeline variable
5555
echo "##vso[task.setvariable variable=RELEASE_TAG]$RELEASE_TAG"
56-
# - bash: cp $(Pipeline.Workspace)/ecp5-bba/ecp5-bba-linux_x86_64-nightly.tar.gz $(Build.Repository.LocalPath)/chipdb.tar.gz
57-
# displayName: Copy BBA artifact
56+
- bash: cp $(Pipeline.Workspace)/ecp5-bba/ecp5-bba-linux_x86_64-nightly.tar.gz $(Build.Repository.LocalPath)/chipdb.tar.gz
57+
displayName: Copy BBA artifact
5858
- script: |
5959
/tmp/docker exec -t -u 0 ci-container \
6060
sh -c "apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confold" -y install sudo"
@@ -76,14 +76,14 @@ stages:
7676
vmImage: '$(vm_image)'
7777

7878
steps:
79-
# - download: current
80-
# artifact: ecp5-bba
79+
- download: current
80+
artifact: ecp5-bba
8181
- bash: |
8282
RELEASE_TAG=nightly-$(date +'%Y%m%d')
8383
# create pipeline variable
8484
echo "##vso[task.setvariable variable=RELEASE_TAG]$RELEASE_TAG"
85-
# - bash: cp $(Pipeline.Workspace)/ecp5-bba/ecp5-bba-linux_x86_64-nightly.tar.gz $(Build.Repository.LocalPath)/chipdb.tar.gz
86-
# displayName: Copy BBA artifact
85+
- bash: cp $(Pipeline.Workspace)/ecp5-bba/ecp5-bba-linux_x86_64-nightly.tar.gz $(Build.Repository.LocalPath)/chipdb.tar.gz
86+
displayName: Copy BBA artifact
8787
- bash: ./build.sh $(ARCH)
8888
displayName: Build toolchain
8989
name: build_toolchain
@@ -103,14 +103,14 @@ stages:
103103
Set-MpPreference -DisableArchiveScanning $true
104104
Set-MpPreference -DisableRealtimeMonitoring $true
105105
Set-MpPreference -DisableBehaviorMonitoring $true
106-
# - download: current
107-
# artifact: ecp5-bba
106+
- download: current
107+
artifact: ecp5-bba
108108
- bash: |
109109
RELEASE_TAG=nightly-$(date +'%Y%m%d')
110110
# create pipeline variable
111111
echo "##vso[task.setvariable variable=RELEASE_TAG]$RELEASE_TAG"
112-
# - script: copy $(Pipeline.Workspace)\ecp5-bba\ecp5-bba-linux_x86_64-nightly.tar.gz $(Build.Repository.LocalPath)\chipdb.tar.gz
113-
# displayName: Copy BBA artifact
112+
- script: copy $(Pipeline.Workspace)\ecp5-bba\ecp5-bba-linux_x86_64-nightly.tar.gz $(Build.Repository.LocalPath)\chipdb.tar.gz
113+
displayName: Copy BBA artifact
114114
- script: |
115115
set MSYS_ROOT=%CD:~0,2%\msys64
116116
echo ##vso[task.setvariable variable=MSYS_ROOT]%MSYS_ROOT%

build.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ export NAME=fpga-toolchain
2121

2222
# -- Debug flags
2323
INSTALL_DEPS=1
24-
COMPILE_DFU_UTIL=0
24+
COMPILE_DFU_UTIL=1
2525
COMPILE_YOSYS=1
26-
COMPILE_ICESTORM=0
27-
COMPILE_NEXTPNR_ICE40=0
28-
COMPILE_NEXTPNR_ECP5=0
29-
COMPILE_ECPPROG=0
26+
COMPILE_ICESTORM=1
27+
COMPILE_NEXTPNR_ICE40=1
28+
COMPILE_NEXTPNR_ECP5=1
29+
COMPILE_ECPPROG=1
3030
COMPILE_IVERILOG=0
3131
COMPILE_GHDL=1
32-
BUNDLE_PYTHON=0
32+
BUNDLE_PYTHON=1
3333
CREATE_PACKAGE=1
3434

3535
# -- Store current dir

0 commit comments

Comments
 (0)