Browse Source

Use the 0.0.1 tag as our new bootstrap base

default_compile_flags
vector-of-bool 5 years ago
parent
commit
77ffdca9a7
3 changed files with 7 additions and 7 deletions
  1. +5
    -5
      azure-pipelines.yml
  2. +1
    -1
      tools/bootstrap.py
  3. +1
    -1
      tools/ci.py

+ 5
- 5
azure-pipelines.yml View File

@@ -12,7 +12,7 @@ jobs:
echo Executing Build and Tests
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f || exit 1
python -m pip install pytest pytest-xdist || exit 1
python -u tools/ci.py -B build -T tools\msvc.dds || exit 1
python -u tools/ci.py -B download -T tools\msvc.dds || exit 1
displayName: Full CI
- publish: _build/dds.exe
artifact: DDS Executable - Windows VS2019
@@ -24,10 +24,10 @@ jobs:
- script: |
set -eu
sudo apt update -y
sudo apt install -y python3-minimal g++-9 g++-8 ccache
sudo apt install -y python3-minimal g++-9 ccache
python3 -m pip install pytest pytest-xdist
displayName: Prepare System
- script: python3 -u tools/ci.py -B build -T tools/gcc-9.dds
- script: python3 -u tools/ci.py -B download -T tools/gcc-9.dds
displayName: Full CI
- publish: _build/dds
artifact: DDS Executable - Linux
@@ -36,12 +36,12 @@ jobs:
pool:
vmImage: macOS-10.14
steps:
- script: brew install gcc@8 gcc@9 ccache
- script: brew install gcc@9 ccache
displayName: Prepare System
- script: |
set -eu
python3 -m pip install pytest pytest-xdist
python3 -u tools/ci.py -B build -T tools/gcc-9.dds
python3 -u tools/ci.py -B download -T tools/gcc-9.dds
displayName: Build and Run Unit Tests
- publish: _build/dds
artifact: DDS Executable - macOS

+ 1
- 1
tools/bootstrap.py View File

@@ -23,7 +23,7 @@ class BootstrapPhase(NamedTuple):
BOOTSTRAP_PHASES = [
BootstrapPhase('bootstrap-p1', 'g++-8', 'cl.exe'),
BootstrapPhase('bootstrap-p4', 'g++-8', 'cl.exe'),
BootstrapPhase('bootstrap-p5', 'g++-9', 'cl.exe'),
BootstrapPhase('0.0.1', 'g++-9', 'cl.exe'),
]

HERE = Path(__file__).parent.absolute()

+ 1
- 1
tools/ci.py View File

@@ -36,7 +36,7 @@ def _do_bootstrap_download() -> None:
if filename is None:
raise RuntimeError(f'We do not have a prebuilt DDS binary for '
f'the "{sys.platform}" platform')
url = f'https://github.com/vector-of-bool/dds/releases/download/bootstrap-p4/{filename}'
url = f'https://github.com/vector-of-bool/dds/releases/download/0.0.1/{filename}'

print(f'Downloading prebuilt DDS executable: {url}')
stream = urllib.request.urlopen(url)

Loading…
Cancel
Save