blob: 38bcf3ffdd32711956f56241b3d2d4a31097ca83 [file] [log] [blame]
#! /bin/bash
# Copyright 2020-2022 F4PGA Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
set -e
source .github/workflows/common.sh
##########################################################################
# Output status information.
start_section Status
(
set +e
set -x
git status
git branch -v
git log -n 5 --graph
git log --format=oneline -n 20 --graph
)
end_section
##########################################################################
# Update submodules
start_section Submodules
(
git submodule update --init --recursive
)
end_section
##########################################################################
#Install yosys
start_section Install-Yosys
(
echo '================================='
echo 'Making env with Yosys and Surelog'
echo '================================='
make env
source env/conda/bin/activate yosys-plugins
conda list
)
end_section
##########################################################################
start_section Yosys-Version
(
source env/conda/bin/activate yosys-plugins
echo $(which yosys)
echo $(which yosys-config)
echo $(yosys --version)
echo $(yosys-config --datdir)
)
end_section